detailer.next

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-09 15:04:56 +02:00
parent 33416f6f82
commit a882ce945b
22 changed files with 744 additions and 105 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ def setup_middleware(app: FastAPI, cmd_opts):
if not isinstance(e, HTTPException) and err['error'] != 'TypeError': # do not print backtrace on known httpexceptions
errors.display(e, 'HTTP API', [anyio, fastapi, uvicorn, starlette])
elif err['code'] in [404, 401, 400]:
elif err['code'] in [404, 401, 400, 403]:
pass
else:
log.debug(e, exc_info=True) # print stack trace