Added zip extraction exception logging.

This commit is contained in:
echel0n 2014-06-24 17:02:19 -07:00
parent 92828eca54
commit 7fff3e0d63

View file

@ -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