We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aeac85 commit d37e232Copy full SHA for d37e232
1 file changed
intelmq_api/exceptions.py
@@ -21,5 +21,5 @@ def handle_generic_error(request: Request, exc: StarletteHTTPException):
21
22
def register(app: FastAPI):
23
"""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
+ app.add_exception_handler(runctl.IntelMQCtlError, ctl_error_handler) # type: ignore
+ app.add_exception_handler(StarletteHTTPException, handle_generic_error) # type: ignore
0 commit comments