Another patch for #1596

This commit is contained in:
Miroslav Stampar
2016-11-07 09:31:07 +01:00
parent 076a42cbfe
commit 13f0949f9e
3 changed files with 4 additions and 4 deletions

View File

@@ -2232,7 +2232,7 @@ def _mergeOptions(inputOptions, overrideOptions):
_normalizeOptions(inputOptions)
except Exception, ex:
errMsg = "provided invalid value '%s' for option '--pickled-options'" % inputOptions.pickledOptions
errMsg += " ('%s')" % ex if ex.message else ""
errMsg += " (%s)" % repr(ex)
raise SqlmapSyntaxException(errMsg)
if inputOptions.configFile: