ggcanary icon indicating copy to clipboard operation
ggcanary copied to clipboard

Handle notifier errors; explicit failure for webhook notifiers

Open gg-mmill opened this issue 3 years ago • 0 comments

Context

Right now, if one notifier raises, the program will stop (i.e. further notifiers will not be triggered). Also webhook notifiers fail silently

DoD

  • [ ] if one notifier fails:
    • [ ] handle and log the exception/error
    • [ ] return non-null error code at the end of the program (so that when looking at cloudwatch monitoring, we can see there are issues)
  • [ ] Raise when webhook notifier did not perform a successful call.

gg-mmill avatar Sep 08 '22 15:09 gg-mmill