From 92828eca54c30b12a63a2d6cec6d904520e67ba4 Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 24 Jun 2014 16:59:14 -0700 Subject: [PATCH] Added error logging for backup zip creation. --- sickbeard/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sickbeard/helpers.py b/sickbeard/helpers.py index d178b273..848ac11c 100644 --- a/sickbeard/helpers.py +++ b/sickbeard/helpers.py @@ -1170,7 +1170,8 @@ def makeZip(fileList, archive): a.write(f) a.close() return True - except: + except Exception as e: + logger.log(u"Zip creation error: " + str(e), logger.ERROR) return False