Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

mongodb-js/bugsnag-api-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bugsnag-api-wrapper travis npm

Light wrapper around bugsnag's API and abstract out api-specific functions

Install

npm install mongodb-js-bugsnag
var bugsnag = require('mongodb-js-bugsnag')

Example

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.

License

Apache 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published