mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-19 13:17:56 +08:00
Properly log error when Post processing subtitles
This commit is contained in:
parent
4f540e6f90
commit
29f73a6c09
1 changed files with 3 additions and 0 deletions
|
@ -1430,6 +1430,9 @@ def postprocessing(command, path):
|
|||
if out == "":
|
||||
logging.info(
|
||||
'BAZARR Post-processing result for file ' + path + ' : Nothing returned from command execution')
|
||||
elif err:
|
||||
logging.error(
|
||||
'BAZARR Post-processing result for file ' + path + ' : ' + err.replace('\n', ' ').replace('\r', ' '))
|
||||
else:
|
||||
logging.info('BAZARR Post-processing result for file ' + path + ' : ' + out)
|
||||
|
||||
|
|
Loading…
Reference in a new issue