[PR #22421] [CLOSED] fix: replace bare except with except Exception in main.py #130335

Closed
opened 2026-05-21 14:21:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/22421
Author: @gambletan
Created: 3/8/2026
Status: ❌ Closed

Base: dev ← Head: fix/bare-except-main


📝 Commits (1)

  • cae0603 fix: replace bare except with except Exception in main.py

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 backend/open_webui/main.py (+2 -2)

📄 Description

Convert bare except: to except Exception: in socket/main.py for better exception handling.

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/22421 **Author:** [@gambletan](https://github.com/gambletan) **Created:** 3/8/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix/bare-except-main` --- ### 📝 Commits (1) - [`cae0603`](https://github.com/open-webui/open-webui/commit/cae0603daceed8f2ca8dbad96bd9a3257453adf9) fix: replace bare except with except Exception in main.py ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/main.py` (+2 -2) </details> ### 📄 Description Convert bare except: to except Exception: in socket/main.py for better exception handling. ### Contributor License Agreement <!-- 🚨 DO NOT DELETE THE TEXT BELOW 🚨 --> By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-21 14:21:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#130335