diff --git a/sqlmap.py b/sqlmap.py index 4fdcabc53..38f9f9199 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -101,7 +101,7 @@ def main(): except (SqlmapSilentQuitException, bdb.BdbQuit): pass - except SqlmapBaseException as e: + except SqlmapBaseException, e: e = getUnicode(e) logger.critical(e) sys.exit(1)