mardi 3 octobre 2017

Add bugsnag to the Ember error handler

Trying to integrate bugsnag into my app using Heroku's instructions:

  1. Include bugsnag.js from our CDN in the <head> tag of your website

    <script 
      src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-3.min.js"  
      data-apikey="f4ce531223f7cc1e44abc9f9e94"></script>
    
    

    This code includes your unique Bugsnag API key, and should be copied directly into your code.

  2. Add bugsnag to the Ember error handler

    Ember.onerror = function(error) {   
      Bugsnag.notifyException(error) 
    };
    
    

I'm wondering where is located the Ember error handler?




Aucun commentaire:

Enregistrer un commentaire