minor update

This commit is contained in:
Miroslav Stampar
2011-06-07 10:32:18 +00:00
parent e9bf768f23
commit 50dde39e68
2 changed files with 6 additions and 5 deletions

View File

@@ -390,7 +390,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
except (sqlmapConnectionException, sqlmapValueException), errMsg:
print
kb.threadException = True
logger.error("thread %d: %s" % (numThread + 1, errMsg))
logger.error("thread %s: %s" % (threading.currentThread().getName(), errMsg))
except KeyboardInterrupt:
kb.threadException = True
@@ -409,7 +409,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
print
kb.threadException = True
errMsg = unhandledExceptionMessage()
logger.error("thread %d: %s" % (numThread + 1, errMsg))
logger.error("thread %s: %s" % (threading.currentThread().getName(), errMsg))
traceback.print_exc()
# Start the threads