Skip to content

fix: replace bare except with except Exception#127

Open
haosenwang1018 wants to merge 1 commit intoErlichLiu:mainfrom
haosenwang1018:fix/bare-except
Open

fix: replace bare except with except Exception#127
haosenwang1018 wants to merge 1 commit intoErlichLiu:mainfrom
haosenwang1018:fix/bare-except

Conversation

@haosenwang1018
Copy link

Replace bare except: with except Exception: in app/main.py. Bare except: catches KeyboardInterrupt and SystemExit, masking real errors.

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