summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-08-31 10:35:46 -0400
committermorpheus65535 <[email protected]>2022-08-31 10:35:46 -0400
commita880386184c7b92dc7284487135c611482ca649e (patch)
tree8ce606ec73ab1b0f10e13765af07b8f19d7a7682
parent7754ca54eb45bed85f1cbaab328b5ee1dd4bac45 (diff)
downloadbazarr-a880386184c7b92dc7284487135c611482ca649e.tar.gz
bazarr-a880386184c7b92dc7284487135c611482ca649e.zip
Improved exceptions logging for events received through SignalR feeds.v1.1.2-beta.0
-rw-r--r--bazarr/radarr/sync/movies.py2
-rw-r--r--bazarr/sonarr/sync/episodes.py2
-rw-r--r--bazarr/sonarr/sync/series.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/bazarr/radarr/sync/movies.py b/bazarr/radarr/sync/movies.py
index dd7fcd681..64b1384ff 100644
--- a/bazarr/radarr/sync/movies.py
+++ b/bazarr/radarr/sync/movies.py
@@ -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
diff --git a/bazarr/sonarr/sync/episodes.py b/bazarr/sonarr/sync/episodes.py
index 9daa04282..0a9e00944 100644
--- a/bazarr/sonarr/sync/episodes.py
+++ b/bazarr/sonarr/sync/episodes.py
@@ -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
diff --git a/bazarr/sonarr/sync/series.py b/bazarr/sonarr/sync/series.py
index aa0c08ed0..d6bf94a30 100644
--- a/bazarr/sonarr/sync/series.py
+++ b/bazarr/sonarr/sync/series.py
@@ -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