catch-my-exceptions
Catch node.js exceptions and send a detailed trace to a Slack webhook
var catchMyExceptions = require('catch-my-exceptions')
catchMyExceptions(webbookUri, opts)
Call catchMyExceptions with your Slack webhookUri and the appropriate options at the initialization of your app.
Opts:
quitOnException - default true
- whether to process.exit(1)
upon an exception
slackChannel - default #bugs
slackUsername - default webhookbot