Skip to content

fix: replace bare except clauses with except Exception#345

Open
taovinci0 wants to merge 1 commit intoBitMind-AI:mainfrom
taovinci0:fix-bare-excepts
Open

fix: replace bare except clauses with except Exception#345
taovinci0 wants to merge 1 commit intoBitMind-AI:mainfrom
taovinci0:fix-bare-excepts

Conversation

@taovinci0
Copy link

Replaces bare except: with except Exception: across 4 files. Bare excepts can catch KeyboardInterrupt and SystemExit, which is usually unintended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments