added some more info to unhandled exception message(s)

This commit is contained in:
Miroslav Stampar
2011-01-28 16:15:45 +00:00
parent a184a4c772
commit ddd296030d
4 changed files with 22 additions and 24 deletions

View File

@@ -34,10 +34,10 @@ from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
from lib.core.data import paths
from lib.core.common import unhandledExceptionMessage
from lib.core.exception import exceptionsTuple
from lib.core.exception import sqlmapSilentQuitException
from lib.core.exception import sqlmapUserQuitException
from lib.core.exception import unhandledException
from lib.core.option import init
from lib.core.profiling import profile
from lib.core.testing import smokeTest
@@ -109,7 +109,7 @@ def main():
except:
print
errMsg = unhandledException()
errMsg = unhandledExceptionMessage()
logger.critical(errMsg)
traceback.print_exc()
closeDumper(False, errMsg)