Browse Source

Merge pull request #14335 from open-webui/main

dev
Tim Jaeryang Baek 4 months ago
parent
commit
c157e74f0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/open_webui/routers/files.py

+ 1 - 1
backend/open_webui/routers/files.py

@@ -199,7 +199,7 @@ def upload_file(
         log.exception(e)
         log.exception(e)
         raise HTTPException(
         raise HTTPException(
             status_code=status.HTTP_400_BAD_REQUEST,
             status_code=status.HTTP_400_BAD_REQUEST,
-            detail=ERROR_MESSAGES.DEFAULT(e),
+            detail=ERROR_MESSAGES.DEFAULT("Error uploading file"),
         )
         )