From aee3b46619726b8f619f040b83d9cb9935e8977e Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Thu, 9 Nov 2023 15:37:39 +0000 Subject: [PATCH] Ignore blind exception catch in error handling --- src/openapi_server/apis/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openapi_server/apis/utils.py b/src/openapi_server/apis/utils.py index 717b0d1..aeb0bf6 100644 --- a/src/openapi_server/apis/utils.py +++ b/src/openapi_server/apis/utils.py @@ -11,7 +11,7 @@ def error_handling(): try: yield - except Exception as e: + except Exception as e: # noqa: BLE001 print(f"EXCEPTION {e}") # noqa: T201 return error_response(e)