[fix] add message to SearxParameterException - fixes #1722

This commit is contained in:
Adam Tauber 2019-10-14 15:00:54 +02:00
parent 28c75c187f
commit 27ed31c7a2

View File

@ -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