Fixed logging of exception when save_subtitles raise an exception while uploading a subtitles.

This commit is contained in:
morpheus65535 2022-01-16 08:49:21 -05:00
parent 62ef614d30
commit 92c3dc9f00

View file

@ -66,7 +66,8 @@ def manual_upload_subtitle(path, language, forced, hi, title, scene_name, media_
# formats=("srt", "vtt")
path_decoder=force_unicode)
except Exception:
pass
logging.exception('BAZARR Error saving Subtitles file to disk for this file:' + path)
return
if len(saved_subtitles) < 1:
logging.exception('BAZARR Error saving Subtitles file to disk for this file:' + path)