Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up on #1708 ([comment](#1708 (comment))) As mentioned there, there is a `__repr__` but not a `__str__`, leading to an empty log message (for HTTPExceptions). An example when running the dev server (previously the first line would just be an empty line): ``` HTTPException(status_code=404, detail='Not Found') INFO: 127.0.0.1:33538 - "GET /swaggers/ui/ HTTP/1.1" 404 Not Found ``` However, I would also be fine with just removing the logging here as `HTTPException`s can be part of the normal flow, without indicating an actual application error (case in point: raising a `Not Found` exception)
- Loading branch information