mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
added variable to store the live test traceback if any
This commit is contained in:
parent
f11747732e
commit
8457cff278
|
@ -14,6 +14,7 @@ import StringIO
|
|||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
import traceback
|
||||
|
||||
from extra.beep.beep import beep
|
||||
from lib.controller.controller import start
|
||||
|
@ -231,6 +232,7 @@ def runCase(switches=None, parse=None):
|
|||
|
||||
if exception:
|
||||
logger.error("unhandled exception occurred ('%s')" % str(exception))
|
||||
tback = traceback.format_exc()
|
||||
retVal = False
|
||||
elif result is False: # if None, ignore
|
||||
logger.error("the test did not run")
|
||||
|
|
Loading…
Reference in New Issue
Block a user