mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix
This commit is contained in:
parent
d85480b4d6
commit
d4c42dcfa9
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ def upload_file(file: UploadFile = File(...), user=Depends(get_verified_user)):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
process_file(ProcessFileForm(file_id=id))
|
process_file(ProcessFileForm(file_id=id))
|
||||||
file = Files.get_file_by_id(id=id)
|
file_item = Files.get_file_by_id(id=id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
log.error(f"Error processing file: {file_item.id}")
|
log.error(f"Error processing file: {file_item.id}")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue