Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdef53a

Browse files
committed
Minor update of unhandled exception message
1 parent a2b0591 commit fdef53a

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

lib/core/common.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
from lib.core.settings import FORCE_COOKIE_EXPIRATION_TIME
9999
from lib.core.settings import FORM_SEARCH_REGEX
100100
from lib.core.settings import GENERIC_DOC_ROOT_DIRECTORY_NAMES
101+
from lib.core.settings import GIT_PAGE
101102
from lib.core.settings import GOOGLE_ANALYTICS_COOKIE_PREFIX
102103
from lib.core.settings import HASHDB_MILESTONE_VALUE
103104
from lib.core.settings import HOST_ALIASES
@@ -2828,13 +2829,14 @@ def unhandledExceptionMessage():
28282829
Returns detailed message about occurred unhandled exception
28292830
"""
28302831

2831-
errMsg = "unhandled exception in %s, retry your " % VERSION_STRING
2832-
errMsg += "run with the latest development version from the GitHub "
2833-
errMsg += "repository. If the exception persists, please send by e-mail "
2834-
errMsg += "to '%s' or open a new issue at '%s' with the following text " % (ML, ISSUES_PAGE)
2835-
errMsg += "and any information required to reproduce the bug. The "
2832+
errMsg = "unhandled exception occurred in %s. It is recommended to retry your " % VERSION_STRING
2833+
errMsg += "run with the latest development version from official GitHub "
2834+
errMsg += "repository at '%s'. If the exception persists, please open a new issue " % GIT_PAGE
2835+
errMsg += "at '%s' (or less preferably send by e-mail to '%s') " % (ISSUES_PAGE, ML)
2836+
errMsg += "with the following text and any other information required to "
2837+
errMsg += "reproduce the bug. The "
28362838
errMsg += "developers will try to reproduce the bug, fix it accordingly "
2837-
errMsg += "and get back to you.\n"
2839+
errMsg += "and get back to you\n"
28382840
errMsg += "sqlmap version: %s%s\n" % (VERSION, "-%s" % REVISION if REVISION else "")
28392841
errMsg += "Python version: %s\n" % PYVERSION
28402842
errMsg += "Operating system: %s\n" % PLATFORM

lib/core/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
SITE = "http://sqlmap.org"
2727
ISSUES_PAGE = "https://github.com/sqlmapproject/sqlmap/issues/new"
2828
GIT_REPOSITORY = "git://github.com/sqlmapproject/sqlmap.git"
29+
GIT_PAGE = "https://github.com/sqlmapproject/sqlmap"
2930
3031

3132
# colorful banner

0 commit comments

Comments
 (0)