Replace bare except: clauses with except Exception: in custom_commands.py and db_engine.py
#29
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-database#29
Loading…
Reference in New Issue
Block a user
No description provided.
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?
Multiple bare
except:blocks:custom_commands.pylines 290, 387, 448, 531, 739, 824, 904, 984;db_engine.pylines 461, 522, 583, 2354. These catch SystemExit, KeyboardInterrupt, etc.Priority: low | Labels: tech-debt
PR #50 opened: #50
Replaced all 12 bare
except:clauses withexcept Exception:using a targeted sed substitution. All occurrences were straightforward fallback handlers (JSON parse failures incustom_commands.py, list remove failures indb_engine.py). No logic changed.