Fix for an Issue #904

This commit is contained in:
Miroslav Stampar 2014-11-06 11:19:05 +01:00
parent a91fb4149b
commit 31f8d6e612

View File

@ -66,7 +66,11 @@ class Dump(object):
if kb.get("multiThreadMode"):
self._lock.acquire()
try:
self._outputFP.write(text)
except IOError, ex:
errMsg = "error occurred while writing to log file ('%s')" % ex
raise SqlmapGenericException(errMsg)
if kb.get("multiThreadMode"):
self._lock.release()