There was an error while loading. Please reload this page.
1 parent 5dd9c81 commit 48c807eCopy full SHA for 48c807e
1 file changed
src/infrastructure/http/exceptions.py
@@ -18,7 +18,7 @@ def custom_base_errors_handler(_: Request, error: BaseError) -> JSONResponse:
18
# TODO Some unit tests check for error messages. Might be bad? If the erroring endpoint doesn't log anything
19
# TODO then there is nothing in the log. Logging here ensures errors actually get logged.
20
if settings.env != "testing":
21
- logger.warning(error.message, exc_info=error)
+ logger.warning(error.error, exc_info=error)
22
23
response = ErrorResponseMulti(
24
result=[
0 commit comments