[PR #127] fix: replace bare except with except Exception #126

Open
opened 2026-02-27 01:56:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ErlichLiu/DeepClaude/pull/127
Author: @haosenwang1018
Created: 2/25/2026
Status: 🔄 Open

Base: mainHead: fix/bare-except


📝 Commits (1)

  • 7b5f365 fix: replace bare except with except Exception

📊 Changes

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

View changed files

📝 app/main.py (+1 -1)

📄 Description

Replace bare except: with except Exception: in app/main.py. Bare except: catches KeyboardInterrupt and SystemExit, masking real errors.


🔄 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/ErlichLiu/DeepClaude/pull/127 **Author:** [@haosenwang1018](https://github.com/haosenwang1018) **Created:** 2/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/bare-except` --- ### 📝 Commits (1) - [`7b5f365`](https://github.com/ErlichLiu/DeepClaude/commit/7b5f365e8ce1fe8fe76e7a0533c4b98d2ed2d1d2) fix: replace bare except with except Exception ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/main.py` (+1 -1) </details> ### 📄 Description Replace bare `except:` with `except Exception:` in `app/main.py`. Bare `except:` catches `KeyboardInterrupt` and `SystemExit`, masking real errors. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/DeepClaude#126
No description provided.