Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 892a7b2 commit 962d63eCopy full SHA for 962d63e
1 file changed
lib/core/exception.py
@@ -24,6 +24,9 @@
24
25
26
27
+import sys
28
+
29
+from lib.core.settings import VERSION
30
from lib.core.settings import VERSION_STRING
31
32
@@ -85,9 +88,11 @@ class sqlmapValueException(Exception):
85
88
86
89
def unhandledException():
87
90
errMsg = "unhandled exception in %s, please copy " % VERSION_STRING
- errMsg += "this and the following traceback and send us by email. "
- errMsg += "We will fix it as soon as possible:"
-
91
+ errMsg += "the command line and the following text and send us "
92
+ errMsg += "by email. We will fix it as soon as possible:\n"
93
+ errMsg += "sqlmap version: %s\n" % VERSION
94
+ errMsg += "Python version: %s\n" % sys.version.split()[0]
95
+ errMsg += "Operating system: %s" % sys.platform
96
return errMsg
97
98
0 commit comments