mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-21 21:47:15 +00: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")
|
# formats=("srt", "vtt")
|
||||||
path_decoder=force_unicode)
|
path_decoder=force_unicode)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
logging.exception('BAZARR Error saving Subtitles file to disk for this file:' + path)
|
||||||
|
return
|
||||||
|
|
||||||
if len(saved_subtitles) < 1:
|
if len(saved_subtitles) < 1:
|
||||||
logging.exception('BAZARR Error saving Subtitles file to disk for this file:' + path)
|
logging.exception('BAZARR Error saving Subtitles file to disk for this file:' + path)
|
||||||
|
|
Loading…
Reference in a new issue