Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aweiland committed Dec 9, 2024
1 parent 2543fdd commit 3c2ecc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/infrastructure/http/execeptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@

def custom_base_errors_handler(_: Request, error: BaseError) -> JSONResponse:
"""This function is called if the BaseError was raised."""

logger.error(error)
# TODO Some unit tests check for error messages. Might be bad? If the erroring endpoint doesn't log anything
# TODO then there is nothing in the log. Logging here ensures errors actually get logged.
# logger.error(error)

response = ErrorResponseMulti(
result=[
Expand Down

0 comments on commit 3c2ecc9

Please sign in to comment.