I have a situation in my code where i need to trace the errors in my production. 

I used `ember.js` as my framework. 

To trace the errors occuring in production i used `Ember.Onerror` which provides me only any functionality error trace.

```
Ember.onerror = function(error) {
  Em.$.ajax('/error-notification', 'POST', {
    stack: error.stack,
    otherInformation: 'exception message'
  });
}

```

But i would like to trace the assertion failed errors for example 

**The URL \*** didnot match any of the routers in your application\*