Initial work Handle unhandled exceptions CR JUAN
This commit is contained in:
parent
4ebca3f3cb
commit
aa7dbaeccb
|
@ -16,6 +16,17 @@ export function config($translatePartialLoaderProvider, $httpProvider, $qProvide
|
|||
}
|
||||
ngModule.config(config);
|
||||
|
||||
/*
|
||||
// FIXME: Handle unhandled exceptions
|
||||
exceptionHandler.$inject = ['vnApp'];
|
||||
function exceptionHandler(vnApp) {
|
||||
return function(exception, cause) {
|
||||
console.error(exception);
|
||||
};
|
||||
}
|
||||
ngModule.factory('$exceptionHandler', exceptionHandler);
|
||||
*/
|
||||
|
||||
const HOOK_ABORTED_TRANSITION = 3;
|
||||
|
||||
run.$inject = ['$window', '$rootScope', 'vnApp', '$state'];
|
||||
|
|
Loading…
Reference in New Issue