mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 08:15:00 -05:00
[PR #7072] [MERGED] fix: handle uncaught HTTP exceptions in PipelineMiddleware #8809
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/7072
Author: @antpyykk-kone
Created: 11/20/2024
Status: ✅ Merged
Merged: 11/20/2024
Merged by: @tjbck
Base:
dev← Head:feature/fix-pipeline-middleware-http-exception-handling📝 Commits (1)
4f6ae82fix: handle http exceptions📊 Changes
1 file changed (+5 additions, -0 deletions)
View changed files
📝
backend/open_webui/main.py(+5 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
HTTPExceptioninPipelineMiddlewareto ensure proper error responses are returned to the user instead of generic 500 server errors.Fixed
HTTPExceptionerrors were not properly handled, resulting in generic 500 server error responses to the user insteadAdditional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.