From bfcf56ec456fba0c8f07566915af8aef07ef417e Mon Sep 17 00:00:00 2001 From: Safihre Date: Mon, 23 Oct 2017 21:58:24 +0200 Subject: [PATCH] Log traceback on assembler disk error --- sabnzbd/assembler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sabnzbd/assembler.py b/sabnzbd/assembler.py index 475fc3ea559..7ffe095a14a 100644 --- a/sabnzbd/assembler.py +++ b/sabnzbd/assembler.py @@ -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 @@ -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