package
Sentry client for node
npm install jackdawGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
A sentry client for node
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(err, event){
client.send(event, function(serr, resp, body) {
console.log(serr, resp.statusCode, body);
});
});
});Estimated unpacked size across 40 packages.
7.7 MB
Includes dependencies.
5 direct dependencies.
>=0.1.0 && <0.2
3.2.6
>=2.9.0 && <3.0.0
2.88.2
1.4.8
>=1.3.1 && <1.4
1.13.8
>=0.0.2
1.0.3