catch-my-exceptions
v1.0.2
Published
Catch uncaughtException in node and send to Slack
Downloads
12
Maintainers
Readme
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