Skip to content

Commit 1010f7e

Browse files
author
Andrei Neagu
committed
removed unused
1 parent e1ee186 commit 1010f7e

File tree

1 file changed

+1
-3
lines changed
  • services/payments/src/simcore_service_payments/api/rest

1 file changed

+1
-3
lines changed

services/payments/src/simcore_service_payments/api/rest/routes.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ def setup_rest_api(app: FastAPI):
1818
app.include_router(api_router)
1919

2020
app.add_exception_handler(Exception, handle_errors_as_500)
21-
app.add_exception_handler(
22-
HTTPException, http_exception_as_json_response # type:ignore[arg-type]
23-
)
21+
app.add_exception_handler(HTTPException, http_exception_as_json_response)

0 commit comments

Comments
 (0)