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

pull/1684/head
morpheus65535 2 years ago
parent 62ef614d30
commit 92c3dc9f00

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

Loading…
Cancel
Save