mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-06 08:18:53 +00:00
refac
This commit is contained in:
parent
26e95f2a92
commit
409f565f09
1 changed files with 2 additions and 0 deletions
|
|
@ -332,6 +332,8 @@ def upload_file_handler(
|
|||
detail=ERROR_MESSAGES.DEFAULT("Error uploading file"),
|
||||
)
|
||||
|
||||
except HTTPException as e:
|
||||
raise e
|
||||
except Exception as e:
|
||||
log.exception(e)
|
||||
raise HTTPException(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue