Open jaseg opened 7 years ago
Hi @jaseg,
Thanks for submitting an issue, this has been put into the roadmap. Again thanks for taking the time to contribute to USB Canary.
Along with other improvements referenced in other issue comments, I am currently working on better error handling where possible, a number of improvements have been made, including using a different daemon which will allow - in case of failure of other logging mechanisms - logging to at least be done.
In several places, usb-canary will quietly exit depending on external conditions. One such place is the twilio message handler. If a mere network error occurs, it will quietly exit.
Expected Behavior
When a messaging channel is configured and errors occur, usb-canary should asynchronously retry as many times as necessary to send the message. Under no conditions should failure of one messaging channel prevent other intact channels from working.
Current Behavior
If e.g. twilio and slack are enabled, and the twilio code raises an error, usb-canary will exit without even attempting to use slack.
Possible Solution
Handle all messaging asynchronously with appropriate back-off.
Steps to Reproduce (for bugs)