Skip to content

Integrates Bugsnag reporting service into your Ember CLI app.

License

Notifications You must be signed in to change notification settings

zestyzesty/ember-cli-bugsnag

 
 

Repository files navigation

Ember-cli-bugsnag

Build Status

Installation

Install the addon:

ember install ember-cli-bugsnag

Configuration

There are two ways to configure ember-cli-bugsnag:

  1. Add POJO to config/environment:
{
  bugsnag: {
    apiKey: '',
    notifyReleaseStages: ['development', 'production']
  }
}
  1. Specify environment variables:
export BUGSNAG_API_KEY=''
export BUGSNAG_NOTIFY_RELEASE='development,production'

Configuration options:

  • config.bugsnag.apiKey / BUGSNAG_API_KEY -- required
  • config.bugsnag.notifyReleaseStages / BUGSNAG_NOTIFY_RELEASE -- optional, defaults to [] (never notify)
  • config.bugsnag.releaseStage / BUGSNAG_RELEASE_STAGE -- optional, defaults to config.environment
  • config.bugsnag.libraryUrl / BUGSNAG_LIBRARY_URL -- optional, defaults to 'https://d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.min.js'. If you want to lock to a particular version of the Bugsnag reporter, you can set this to, e.g. '//d2wy8f7a9ursnm.cloudfront.net/bugsnag-2.4.8.min.js'. See Bugsnag: Advanced Hosting
  • config.currentRevision -- any string representing the current version of the app, e.g. "1b8ef2c7" or "v1.2.4", optional. ember-git-version provides this automatically.

About

Integrates Bugsnag reporting service into your Ember CLI app.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.1%
  • HTML 17.9%