title: Why Ember.onerror() not capturing the Assertion Failed error.?
body: <p>I have a situation in my code where i need to trace the errors in my production. </p>
  
  <p>I used <code>ember.js</code> as my framework.  </p>
  
  <p>To trace the errors occuring in production i used <code>Ember.Onerror</code> which provides me only any functionality error trace.</p>
  
  <pre><code>Ember.onerror = function(error) {
    Em.$.ajax('/error-notification', 'POST', {
      stack: error.stack,
      otherInformation: 'exception message'
    });
  }
  </code></pre>
  
  <p>But i would like to trace the assertion failed errors for example </p>
  
  <p><strong>The URL *<em></strong> didnot match any of the routers in your application</em>*</p>