mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-10 16:57:45 +08:00
logging: show file error reason in log
In case of an error occurs while saving subtitles, the cause for the error should be printed to the log file. Otherwise it becomes difficult to debug it.
This commit is contained in:
parent
5dcd835308
commit
635b865b2a
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ def download_subtitle(path, language, audio_language, hi, forced, providers, pro
|
|||
path_decoder=force_unicode
|
||||
)
|
||||
except Exception as e:
|
||||
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 + ': ' + repr(e))
|
||||
pass
|
||||
else:
|
||||
saved_any = True
|
||||
|
|
Loading…
Reference in a new issue