Added error logging for backup zip creation.
This commit is contained in:
parent
696a1a9f4a
commit
92828eca54
|
@ -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 New Issue