This commit is contained in:
Miroslav Stampar
2018-09-28 13:12:21 +02:00
parent 71208e891c
commit 932aa8dd94
3 changed files with 4 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ class BigArray(list):
try:
with open(self.chunks[index], "rb") as f:
self.cache = Cache(index, pickle.loads(bz2.decompress(f.read())), False)
except IOError, ex:
except Exception, ex:
errMsg = "exception occurred while retrieving data "
errMsg += "from a temporary file ('%s')" % ex.message
raise SqlmapSystemException(errMsg)