sentry-client

1.2.0 • Public • Published

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.

Package Sidebar

Install

npm i sentry-client

Weekly Downloads

3

Version

1.2.0

License

MIT

Last publish

Collaborators

  • christophercliff