Skip to content
Snippets Groups Projects
Commit 311b9ea2 authored by Tim Repke's avatar Tim Repke
Browse files

fix mypy

parent c740f147
No related branches found
No related tags found
1 merge request!4Pipe import academic
Pipeline #919 failed
......@@ -62,7 +62,7 @@ class ErrorHandlingMiddleware(BaseHTTPMiddleware):
# FIXME: The Pydantic Validation Error triggers an exception when logging the error.
error_str = str(ew)
logger.exception(ew)
except Error:
except Error: # type: ignore[misc]
logger.error('Some unspecified error occurred...')
return await http_exception_handler(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment