mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
cx_Oracle.DatabaseError is an ancestor of cx_Oracle.InternalError
This commit is contained in:
parent
8686c20fa5
commit
da7f63f125
|
@ -64,10 +64,8 @@ class Connector(GenericConnector):
|
|||
try:
|
||||
self.cursor.execute(utf8encode(query))
|
||||
retVal = True
|
||||
except (cx_Oracle.DatabaseError), msg:
|
||||
except cx_Oracle.DatabaseError, msg:
|
||||
logger.log(logging.WARN if conf.dbmsHandler else logging.DEBUG, "(remote) %s" % msg)
|
||||
except cx_Oracle.InternalError, msg:
|
||||
raise SqlmapConnectionException(msg)
|
||||
|
||||
self.connector.commit()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user