diff options
Diffstat (limited to 'searx/webadapter.py')
-rw-r--r-- | searx/webadapter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/webadapter.py b/searx/webadapter.py index 0ad82c62c..ca2604c3e 100644 --- a/searx/webadapter.py +++ b/searx/webadapter.py @@ -105,8 +105,8 @@ def parse_timeout(form: Dict[str, str], raw_text_query: RawTextQuery) -> Optiona return None try: return float(timeout_limit) - except ValueError: - raise SearxParameterException('timeout_limit', timeout_limit) + except ValueError as e: + raise SearxParameterException('timeout_limit', timeout_limit) from e def parse_category_form(query_categories: List[str], name: str, value: str) -> None: |