Skip to content

Commit 409f565

Browse files
committed
refac
1 parent 26e95f2 commit 409f565

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backend/open_webui/routers/files.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ def upload_file_handler(
332332
detail=ERROR_MESSAGES.DEFAULT("Error uploading file"),
333333
)
334334

335+
except HTTPException as e:
336+
raise e
335337
except Exception as e:
336338
log.exception(e)
337339
raise HTTPException(

0 commit comments

Comments
 (0)