From 6fe6c6f187502cb6e86a7e24d49ec02d52b1094f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Otto?= Date: Sat, 19 Oct 2024 15:12:48 +0200 Subject: [PATCH] Increase level for invalid JSON to critical --- aas_test_engines/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aas_test_engines/api.py b/aas_test_engines/api.py index fa597b1..7bf2d30 100644 --- a/aas_test_engines/api.py +++ b/aas_test_engines/api.py @@ -473,7 +473,7 @@ def _get_json(response: requests.models.Response) -> dict: try: return response.json() except requests.exceptions.JSONDecodeError as e: - abort(f"Cannot decode as JSON: {e}") + abort(f"Cannot decode as JSON: {e}", Level.CRITICAL) def _invoke(request: Request, conf: ExecConf, positive_test) -> requests.models.Response: