Comparing version 0.0.2 to 0.0.3
@@ -5,3 +5,3 @@ { | ||
"description": "Node.js client for airbrakeapp.com, formerly hoptoad.", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"homepage": "https://github.com/felixge/node-airbrake", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -42,2 +42,20 @@ # airbrake | ||
## Screenshot | ||
This screenshot shows an airbrake error send from this module: | ||
 | ||
## Features | ||
* Detect and fix circular references in error context information | ||
* Support for all features of the [2.1 notification API][2.1api] | ||
* Support for [long-stack-traces][] | ||
* Optional auto-handler for `uncaughtException` events | ||
* Provides notification url linking to airbrake in `notify()` callback | ||
[long-stack-traces]: https://github.com/tlrobinson/long-stack-traces | ||
[2.1api]: http://help.airbrakeapp.com/kb/api-2/notifier-api-version-21 | ||
## Adding context to errors | ||
@@ -147,2 +165,9 @@ | ||
## Alternative modules | ||
This module is meant as a replacement for [hoptoad-notifier][], which does not | ||
support all features of the [2.1 API][2.1api]. | ||
[hoptoad-notifier]: https://github.com/tristandunn/node-hoptoad-notifier | ||
## Todo | ||
@@ -149,0 +174,0 @@ |
@@ -6,5 +6,6 @@ var common = require('../common'); | ||
var err = new Error('test-notify'); | ||
var err = new Error('Node.js just totally exploded on me'); | ||
err.env = {protect: 'the environment!'}; | ||
err.session = {iKnow: 'what you did last minute'}; | ||
err.url = 'http://example.org/bad-url'; | ||
@@ -11,0 +12,0 @@ var circular = {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1147826
30
371
178