catch-my-exceptions

1.0.2 • Public • Published

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

Dependents (2)

Package Sidebar

Install

npm i catch-my-exceptions

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • ivogeorgiev