From 7fff3e0d637bc7a2c600ec126c688bf259bbd3cb Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 24 Jun 2014 17:02:19 -0700 Subject: [PATCH] Added zip extraction exception logging. --- sickbeard/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/helpers.py b/sickbeard/helpers.py index 848ac11c..7bb73983 100644 --- a/sickbeard/helpers.py +++ b/sickbeard/helpers.py @@ -1199,5 +1199,6 @@ def extractZip(archive, targetDir): target.close() zip_file.close() return True - except: + except Exception as e: + logger.log(u"Zip extraction error: " + str(e), logger.ERROR) return False \ No newline at end of file