Skip to content

Commit

Permalink
Properly log error when Post processing subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
ratoaq2 committed Apr 7, 2021
1 parent 4f540e6 commit 29f73a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bazarr/get_subtitle.py
Expand Up @@ -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)

Expand Down

0 comments on commit 29f73a6

Please sign in to comment.