mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Added error logging for backup zip creation.
This commit is contained in:
parent
696a1a9f4a
commit
92828eca54
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue