From 27ed31c7a21c4468bc86aaf220e30315e366c425 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Mon, 14 Oct 2019 15:00:54 +0200 Subject: [PATCH] [fix] add message to SearxParameterException - fixes #1722 --- searx/exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/searx/exceptions.py b/searx/exceptions.py index c605ddcab..0175acfa3 100644 --- a/searx/exceptions.py +++ b/searx/exceptions.py @@ -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