mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #6438] [CLOSED] fix: Propagate file processing error to UI #8681
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/6438
Author: @mkhludnev
Created: 10/26/2024
Status: ❌ Closed
Base:
dev← Head:patch-1📝 Commits (1)
c7e23fdPropagate file processing error to UI📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/apps/webui/routers/files.py(+1 -0)📄 Description
File processing may fall due to many reasons (fwiw, in my case it was old .doc upload - note, I'm not for supporting this format). Now file processing error is logged, but not propagated. So, UI looks like everything is fine. I think it's worth to throw through the underneath error, at least to display alarm box informing about troubles.
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Fixed
Additional Information
that how it's logged (when fixed):
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.