Skip to content

Commit

Permalink
Ignore blind exception catch in error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed Nov 9, 2023
1 parent 8850939 commit aee3b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openapi_server/apis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit aee3b46

Please sign in to comment.