Properly log error when Post processing subtitles

pull/1373/head
Rato 4 years ago committed by GitHub
parent 4f540e6f90
commit 29f73a6c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save