Skip to content

Commit d37e232

Browse files
committed
damn, again
1 parent 7aeac85 commit d37e232

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

intelmq_api/exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ def handle_generic_error(request: Request, exc: StarletteHTTPException):
2121

2222
def register(app: FastAPI):
2323
"""A hook to register handlers in the app. Need to be called before startup"""
24-
app.add_exception_handler(runctl.IntelMQCtlError, ctl_error_handler) # type: ignore
25-
app.add_exception_handler(StarletteHTTPException, handle_generic_error) # type: ignore
24+
app.add_exception_handler(runctl.IntelMQCtlError, ctl_error_handler) # type: ignore
25+
app.add_exception_handler(StarletteHTTPException, handle_generic_error) # type: ignore

0 commit comments

Comments
 (0)