Skip to content

Use specific exception instead of bare except in build_ffi.py#116

Open
roberthdevries wants to merge 1 commit intowolfSSL:masterfrom
roberthdevries:fix-bare-except-build-ffi
Open

Use specific exception instead of bare except in build_ffi.py#116
roberthdevries wants to merge 1 commit intowolfSSL:masterfrom
roberthdevries:fix-bare-except-build-ffi

Conversation

@roberthdevries
Copy link
Copy Markdown
Contributor

A bare except catches BaseException which includes KeyboardInterrupt, SystemExit, Exception, and others.
Catching BaseException can make it hard to interrupt the program (e.g., with Ctrl-C) and can disguise other problems.

A bare except catches BaseException which includes KeyboardInterrupt,
SystemExit, Exception, and others.
Catching BaseException can make it hard to interrupt the program (e.g., with
Ctrl-C) and can disguise other problems.
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.

3 participants