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

Skip to content

Commit 17742df

Browse files
committed
Update for an Issue #636 (to prevent eventual future reports with lack of stack trace)
1 parent 2f8846c commit 17742df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ def safeStringFormat(format_, params):
14981498
if count < len(params):
14991499
retVal = retVal[:index] + getUnicode(params[count]) + retVal[index + 2:]
15001500
else:
1501-
raise SqlmapNoneDataException("wrong number of parameters during string formatting")
1501+
raise Exception("wrong number of parameters during string formatting")
15021502
count += 1
15031503

15041504
return retVal

0 commit comments

Comments
 (0)