sentry-node
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "sentry-node", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "simple Node wrapper around Sentry API", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -101,3 +101,5 @@ ## Sentry-node | ||
- `'error'`: emitted when an error occurs within the Sentry client and an error or message fails to be logged to Sentry | ||
- `'warning'`: emitted when a value of the incorrect type is passed as err or logger | ||
- `'warning'`: | ||
* emitted when a value of the incorrect type is passed as err or logger | ||
* emitted when a HTTP 429 (burst rate limiting) is returned from Sentry API | ||
@@ -112,4 +114,4 @@ ```javascript | ||
}) | ||
sentry.on('warning', function(){ | ||
console.log('You did something sentry didn't expect'); | ||
sentry.on('warning', function(e){ | ||
console.log('You did something sentry didn't expect', e); | ||
}) | ||
@@ -116,0 +118,0 @@ ``` |
33888
130