Ember Integration

Ember.js is a powerful client-side MV* JavaScript framework that has enjoyed wide adoption. Atatus integrates with Ember.js in only a few lines, allowing you to diagnose and debug when things goes awry.

Track exceptions in Ember apps

To collect errors from Ember app, you need to set up the Ember.onerror handler for your app. You can do that using the following code snippet:

var reportError = function(error) {
    if (window.atatus) {
        window.atatus.notify(error);
    }
};

// Log Emberjs errors
Ember.onerror = reportError;

// Log Ember promise errors
Ember.RSVP.on('error', reportError);

// Log Ember route errors
App.ApplicationRoute = Ember.Route.extend({ actions: { error: reportError } });