You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of bare except: statements throughout the code that catch everything including KeyboardInterrupt and SystemExit. Makes debugging painful, if something hangs you can't even Ctrl+C out of it, and actual errors get silently swallowed
These should at minimum be except Exception: to avoid catching system-level stuff, or better yet catch specific exceptions like FileNotFoundError or IOError depending on what could actually fail. Not critical but would make debugging way easier
Activity
fix bare except blocks - fixes ControlCore-Project#299
fix bare except blocks - fixes ControlCore-Project#299
avinxshKD commentedon Feb 13, 2026
Hi @pradeeban ready for review, fixed bare excepts in main repo as asked
And also kept separate from the file I/O refactoring PR. #301
could you also check my previous issues and related PRs to ensure these align with the project's direction? Thanks
pradeeban commentedon Feb 13, 2026
Thanks, yes, this is a good one to fix.
fix bare except blocks - fixes ControlCore-Project#299