diff options
author | Adam Tauber <asciimoo@gmail.com> | 2019-10-14 15:00:54 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2019-10-14 15:06:25 +0200 |
commit | 27ed31c7a21c4468bc86aaf220e30315e366c425 (patch) | |
tree | e92db3f6013e5f8dbe75b40e3d9fb17c024c37a6 /searx/exceptions.py | |
parent | 28c75c187f8ec9971e09cf002a2ea7028f515473 (diff) | |
download | searxng-27ed31c7a21c4468bc86aaf220e30315e366c425.tar.gz searxng-27ed31c7a21c4468bc86aaf220e30315e366c425.zip |
[fix] add message to SearxParameterException - fixes #1722
Diffstat (limited to 'searx/exceptions.py')
-rw-r--r-- | searx/exceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |