Skip to content

Commit

Permalink
Log traceback on assembler disk error
Browse files Browse the repository at this point in the history
  • Loading branch information
Safihre committed Oct 23, 2017
1 parent 01603b2 commit bfcf56e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sabnzbd/assembler.py
Expand Up @@ -104,6 +104,8 @@ def run(self):
logging.error(T('Disk full! Forcing Pause'))
else:
logging.error(T('Disk error on creating file %s'), clip_path(filepath))
# Log traceback
logging.info('Traceback: ', exc_info=True)
# Pause without saving
sabnzbd.downloader.Downloader.do.pause(save=False)
continue
Expand Down Expand Up @@ -318,7 +320,8 @@ def check_encrypted_and_unwanted_files(nzo, filepath):
zf.close()
del zf
except:
logging.info('Error during inspection of RAR-file %s', filepath, exc_info=True)
logging.info('Error during inspection of RAR-file %s', filepath)
logging.debug('Traceback: ', exc_info=True)

return encrypted, unwanted

Expand Down

0 comments on commit bfcf56e

Please sign in to comment.