1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00

Improved exceptions logging for events received through SignalR feeds.

This commit is contained in:
morpheus65535 2022-08-31 10:35:46 -04:00
parent 7754ca54eb
commit a880386184
3 changed files with 3 additions and 3 deletions

View file

@ -219,7 +219,7 @@ def update_one_movie(movie_id, action, defer_search=False):
movie = movieParser(movie_data, action='insert', tags_dict=tagsDict,
movie_default_profile=movie_default_profile, audio_profiles=audio_profiles)
except Exception:
logging.debug('BAZARR cannot get movie returned by SignalR feed from Radarr API.')
logging.exception('BAZARR cannot get movie returned by SignalR feed from Radarr API.')
return
# Drop useless events

View file

@ -198,7 +198,7 @@ def sync_one_episode(episode_id, defer_search=False):
episode_file_id=episode_data['episodeFileId'])
episode = episodeParser(episode_data)
except Exception:
logging.debug('BAZARR cannot get episode returned by SignalR feed from Sonarr API.')
logging.exception('BAZARR cannot get episode returned by SignalR feed from Sonarr API.')
return
# Drop useless events

View file

@ -189,7 +189,7 @@ def update_one_series(series_id, action):
serie_default_profile=serie_default_profile,
audio_profiles=audio_profiles)
except Exception:
logging.debug('BAZARR cannot parse series returned by SignalR feed.')
logging.exception('BAZARR cannot get series returned by SignalR feed from Sonarr API.')
return
# Update existing series in DB