jackdaw

1.1.1 • Public • Published

node-jackdaw

A sentry client for node

Example

var jd     = require('jackdaw')
  , dsn    = process.env.SENTRY_DSN
  , client = new jd.Client(dsn)
 
//
// Log all uncaught exceptions to sentry
//
process.on('uncaughtException', function(e){
  client.captureError(e, function(err, resp, body){});
});

Readme

Keywords

none

Package Sidebar

Install

npm i jackdaw

Weekly Downloads

13

Version

1.1.1

License

none

Last publish

Collaborators

  • jb55