mirror of
https://github.com/ansible/awx.git
synced 2026-03-29 06:45:09 -02:30
Using $log for debugging transitionTo errors
This commit is contained in:
@@ -385,10 +385,8 @@ var tower = angular.module('Tower', [
|
|||||||
};
|
};
|
||||||
$rootScope.$stateParams = $stateParams;
|
$rootScope.$stateParams = $stateParams;
|
||||||
|
|
||||||
$state.defaultErrorHandler(function() {
|
$state.defaultErrorHandler(function(error) {
|
||||||
// Do not log transitionTo errors. This function,
|
$log.debug(`$state.defaultErrorHandler: ${error}`);
|
||||||
// left empty, will prevent errors being displayed on the
|
|
||||||
// JS console that are caused by ui-router transitions.
|
|
||||||
});
|
});
|
||||||
|
|
||||||
I18NInit();
|
I18NInit();
|
||||||
|
|||||||
Reference in New Issue
Block a user