Replace bare except: with except Exception: and log errors
#23
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#23
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?
Description
Seven bare
except: passblocks exist across production code:commands/league/submit_scorecard.py:178, :185, :357, :375,views/transaction_embed.py:383,tasks/transaction_freeze.py:821, :916. Bareexcept:catchesKeyboardInterrupt,SystemExit, andGeneratorExit, which can prevent clean shutdown.File Locations
commands/league/submit_scorecard.py:178commands/league/submit_scorecard.py:185commands/league/submit_scorecard.py:357commands/league/submit_scorecard.py:375views/transaction_embed.py:383tasks/transaction_freeze.py:821tasks/transaction_freeze.py:916Labels
bug, tech-debt
Priority
medium
Addressed in commit
f4be20aonnext-releasebranch. Will be closed when merged to main.Addressed in commit
f4be20aonnext-releasebranch. Will be closed when merged to main.