1.2.0 • Published 10 years ago

sentry-client v1.2.0

Weekly downloads
28
License
MIT
Repository
-
Last release
10 years ago

sentry-client

The smallest Sentry client for node.js.

Installation

npm install sentry-client

Usage

var client = require('sentry-client').create({ dsn: YOUR_DSN })

client.sendError(new Error('Oops!')).then(function (data) {}, function (err) {})
// or
client.sendError(new Error('Oops!'), function (err, data) {})

API

See REFERENCE.

Contributing

See CONTRIBUTING.

License

See LICENSE.