mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
adding useful comment to $state.defaultErrorHandler
This commit is contained in:
parent
fe29f5e0c9
commit
a9c1969aa0
@ -386,8 +386,9 @@ var tower = angular.module('Tower', [
|
||||
$rootScope.$stateParams = $stateParams;
|
||||
|
||||
$state.defaultErrorHandler(function() {
|
||||
// Do not log transitionTo errors
|
||||
// $log.debug("transitionTo error: " + error );
|
||||
// Do not log transitionTo errors. This function,
|
||||
// left empty, will prevent errors being displayed on the
|
||||
// JS console that are caused by ui-router transitions.
|
||||
});
|
||||
|
||||
I18NInit();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user