GT2/GT2-iOS/node_modules/raven-js/dist/plugins/ember.min.js

3 lines
706 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
/*! Raven.js 3.22.2 (1b6187b) | github.com/getsentry/raven-js */
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):(a.Raven=a.Raven||{},a.Raven.Plugins=a.Raven.Plugins||{},a.Raven.Plugins.Ember=b())}(this,function(){"use strict";function a(a,b){if(b=b||window.Ember){var c=b.onerror;b.onerror=function(b){a.captureException(b),"function"==typeof c&&c.call(this,b)},b.RSVP.on("error",function(b){b instanceof Error?a.captureException(b,{extra:{context:"Unhandled Promise error detected"}}):a.captureMessage("Unhandled Promise error detected",{extra:{reason:b}})})}}var b=a;return b});
//# sourceMappingURL=ember.min.js.map