Pārlūkot izejas kodu

Merge pull request #14335 from open-webui/main

dev
Tim Jaeryang Baek 4 mēneši atpakaļ
vecāks
revīzija
c157e74f0c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
         raise HTTPException(
             status_code=status.HTTP_400_BAD_REQUEST,
-            detail=ERROR_MESSAGES.DEFAULT(e),
+            detail=ERROR_MESSAGES.DEFAULT("Error uploading file"),
         )