Skip to content

Commit

Permalink
Increase level for invalid JSON to critical
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-ifak committed Oct 19, 2024
1 parent 6e9b5c0 commit 6fe6c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aas_test_engines/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6fe6c6f

Please sign in to comment.