From df41b7712150adf384bc08e38215a7cc9970c100 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Fri, 23 Apr 2021 21:08:48 +0200 Subject: [mod] /stats : detail per engine allow to submit a github issue including the technical details (exceptions, errors, warning, checker result) --- searx/metrics/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/metrics') diff --git a/searx/metrics/__init__.py b/searx/metrics/__init__.py index adcb47ae..6ed57811 100644 --- a/searx/metrics/__init__.py +++ b/searx/metrics/__init__.py @@ -150,7 +150,7 @@ def get_reliabilities(engline_name_list, checker_results): reliabilities[engine_name] = { 'reliablity': reliablity, 'errors': errors, - 'checker': checker_results.get(engine_name, {}).get('errors', {}).keys(), + 'checker': checker_results.get(engine_name, {}).get('errors', {}), } return reliabilities -- cgit v1.2.3