2.0.0 • Published 4 years ago

micro-sentry v2.0.0

Weekly downloads
39
License
MIT
Repository
-
Last release
4 years ago

micro-sentry

micro-sentry allows you to send micro errors to Sentry.

Installation

$ npm install --save micro-sentry

OR

$ yarn add micro-sentry

Example

const sendToSentry = require('micro-sentry');
const url = 'https://<key>:<secret>@sentry.io/<project>';

module.exports = sendToSentry(url)(async (request, response) => {
    throw Error('This will be sent to Sentry!');
});

Development

$ git clone https://github.com/tanmulabs/micro-sentry.git
$ cd micro-sentry
$ npm install
$ npm test
2.0.0

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago