mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-22 22:29:05 +00:00
Dealing with deprecated raises
This commit is contained in:
@@ -92,7 +92,7 @@ class HashDB(object):
|
||||
except sqlite3.DatabaseError, ex:
|
||||
errMsg = "error occurred while accessing session file '%s' ('%s'). " % (self.filepath, getSafeExString(ex))
|
||||
errMsg += "If the problem persists please rerun with `--flush-session`"
|
||||
raise SqlmapConnectionException, errMsg
|
||||
raise SqlmapConnectionException(errMsg)
|
||||
else:
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user