jackdaw

Sentry client for node

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){
  jd.Event.fromError(e, function(errevent){
    client.send(event, function(serrrespbody) {
      console.log(serr, resp.statusCode, body);
    });
  });
});