Fix image handling

This commit is contained in:
grossmj committed 2026-03-05 12:38:28 +08:00
1 parent 2843e05e01
commit 4606613673
5 files changed
+59 -49

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ async def http_exception_handler(request: Request, exc: HTTPException):
@app.exception_handler(SQLAlchemyError)
async def sqlalchemry_error_handler(request: Request, exc: SQLAlchemyError):
async def sqlalchemy_error_handler(request: Request, exc: SQLAlchemyError):
log.error(f"Controller database error in {request.url.path} ({request.method}): {exc}")
return JSONResponse(
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,