diff --git a/backend/open_webui/routers/files.py b/backend/open_webui/routers/files.py index ad556d327..813fbb268 100644 --- a/backend/open_webui/routers/files.py +++ b/backend/open_webui/routers/files.py @@ -189,7 +189,7 @@ def upload_file( log.exception(e) raise HTTPException( status_code=status.HTTP_400_BAD_REQUEST, - detail=ERROR_MESSAGES.DEFAULT(e), + detail=ERROR_MESSAGES.DEFAULT("Error uploading file"), )