Light wrapper around bugsnag's API and abstract out api-specific functions
npm install mongodb-js-bugsnag
var bugsnag = require('mongodb-js-bugsnag')
The wrapper exposes two basic functions getErrors
and getEvents
.
getErrors(<querystring>, callback);
getErrors returns a list of all errors filtered by the querystring - narrow down errors returned by release_stages, app_versions, severity, status through the query string parameter.
getEvents(<querystring>, callback);
getEvents returns a list of all events (individual crashes) filtered by the querystring - narrow down events returned by start_time, end_time through the query string parameter.
Please refer to the Bugsnag API documentation for valid querystrings.
Apache 2.0