-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle C++ exceptions #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
The failures are due to Python 2 being too old, I'll disable the old code |
Done at #23 , please rebase the PR so the new tests will be picked up |
codecov failing because of the token, but this looks good to me |
Alright 👍 |
yes - |
This PR catches more underlying C++ exceptions and handles them to prevent python from crashing when encountering one.
Currently, the following exceptions are caught:
std::runtime_error
(e.g. when running without permissions)Tins::malformed_packet
Fixes #21 and #10 (at least partially)