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