Replace bare except: clauses with except Exception: in custom_commands.py and db_engine.py #29

Closed
opened 2026-02-20 06:50:25 +00:00 by cal · 1 comment
Owner

Multiple bare except: blocks: custom_commands.py lines 290, 387, 448, 531, 739, 824, 904, 984; db_engine.py lines 461, 522, 583, 2354. These catch SystemExit, KeyboardInterrupt, etc.

Priority: low | Labels: tech-debt

Multiple bare `except:` blocks: `custom_commands.py` lines 290, 387, 448, 531, 739, 824, 904, 984; `db_engine.py` lines 461, 522, 583, 2354. These catch SystemExit, KeyboardInterrupt, etc. **Priority**: low | **Labels**: tech-debt
cal added the
ai-working
label 2026-03-05 21:01:22 +00:00
cal removed the
ai-working
label 2026-03-05 21:04:02 +00:00
Author
Owner

PR #50 opened: #50

Replaced all 12 bare except: clauses with except Exception: using a targeted sed substitution. All occurrences were straightforward fallback handlers (JSON parse failures in custom_commands.py, list remove failures in db_engine.py). No logic changed.

PR #50 opened: https://git.manticorum.com/cal/major-domo-database/pulls/50 Replaced all 12 bare `except:` clauses with `except Exception:` using a targeted sed substitution. All occurrences were straightforward fallback handlers (JSON parse failures in `custom_commands.py`, list remove failures in `db_engine.py`). No logic changed.
cal added the
ai-pr-opened
label 2026-03-05 21:04:08 +00:00
cal closed this issue 2026-03-10 14:35:10 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: cal/major-domo-database#29
No description provided.