Improved exceptions logging for events received through SignalR feeds.

pull/1944/head v1.1.2-beta.0
morpheus65535 2 years ago
parent 7754ca54eb
commit a880386184

@ -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

@ -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

@ -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

Loading…
Cancel
Save