This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
Avoid exit on AssertionError #70
Comments
All |
leo-combes
added a commit
to leo-combes/node-snmp-native
that referenced
this issue
May 31, 2018
When a malformed package is found, an error message is left in the log with the sample of the package that originated it. There is no exception or cause stop the program. Is my first PR, so I'm not sure if I are doing this fine.
leo-combes
added a commit
to leo-combes/node-snmp-native
that referenced
this issue
May 31, 2018
proposed solution to calmh#70
I have proposed a PR #71, but seems it have fail :( |
you did not fail! you just need to make sure to change the test as well... |
leo-combes
added a commit
to leo-combes/node-snmp-native
that referenced
this issue
Jun 2, 2018
proposed solution to calmh#70
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have an a problem with errors caused with malformated packets. We are using autobahn and native-snmp as service or module running on it.
In these cases, when an AssertionError is raised, the module exits as if an exception was ocurred, stopping it all.
I could fix it if, instead stop with an AssertionError, the module would continue its execution and only returning an error in the response.
How I could do this?
The text was updated successfully, but these errors were encountered: