Removed m-cord stuff
diff --git a/views/ngXosLib/xosHelpers/src/xosHelpers.module.js b/views/ngXosLib/xosHelpers/src/xosHelpers.module.js
index 25600aa..d5b53da 100644
--- a/views/ngXosLib/xosHelpers/src/xosHelpers.module.js
+++ b/views/ngXosLib/xosHelpers/src/xosHelpers.module.js
@@ -3,7 +3,12 @@
angular.module('bugSnag', []).factory('$exceptionHandler', function () {
return function (exception, cause) {
- Bugsnag.notifyException(exception, {diagnostics:{cause: cause}});
+ if( window.Bugsnag ){
+ Bugsnag.notifyException(exception, {diagnostics:{cause: cause}});
+ }
+ else{
+ console.error(exception, cause, exception.stack);
+ }
};
});