mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-06-04 11:25:24 +08:00
commit
c157e74f0c
@ -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"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user