mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-10 09:02:44 +08:00
Fixed logging of exception when save_subtitles raise an exception while uploading a subtitles.
This commit is contained in:
parent
62ef614d30
commit
92c3dc9f00
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue