Include the Rollbar client your Ember app, and report Ember.Logger.error() to Rollbar
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/initializers
client
config
tasks
tests
vendor
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.npmignore
.travis.yml
.watchmanconfig
CHANGELOG.md
LICENSE.md
README.md
ember-cli-build.js
index.js
package.json
testem.js

README.md

ember-cli-rollbar

Dependency Status Build Status

Drop-in Rollbar error reporting integration.

Installation

Just add your Rollbar client-side access token to your config/environment.js:

var ENV = {
  //...
  rollbar: {
    accessToken: '<your token here>'
  }
};

The rollbar config object is used to configure Rollbar, and defaults to the following options:

{
  enabled: environment !== 'development',
  captureUncaught: true,
  payload: {
    environment: environment
  }
}

Usage

By default, any calls to Ember.Logger.error() will be logged to Rollbar.

You can also import the Rollbar javascript API as an ES2015 module

import rollbar from 'rollbar';

rollbar.critical('Someone tripped over the power cord!');

For details on using the Rollbar javascript API, please check out their documentation.