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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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)
cae0603fix: 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.