mirror of https://github.com/searxng/searxng.git
[fix] add message to SearxParameterException - fixes #1722
This commit is contained in:
parent
28c75c187f
commit
27ed31c7a2
|
@ -28,5 +28,6 @@ class SearxParameterException(SearxException):
|
||||||
else:
|
else:
|
||||||
message = 'Invalid value "' + value + '" for parameter ' + name
|
message = 'Invalid value "' + value + '" for parameter ' + name
|
||||||
super(SearxParameterException, self).__init__(message)
|
super(SearxParameterException, self).__init__(message)
|
||||||
|
self.message = message
|
||||||
self.parameter_name = name
|
self.parameter_name = name
|
||||||
self.parameter_value = value
|
self.parameter_value = value
|
||||||
|
|
Loading…
Reference in New Issue