fix(web(js)): avoid throwing an error when disconnected
parent
9ece688bd1
commit
7b9e750806
|
@ -376,7 +376,7 @@
|
|||
$window.recovered = true;
|
||||
$window.location.href = $window.ApplicationBaseURL + $state.href($state.current);
|
||||
}
|
||||
else if (!rejection.data.quiet) {
|
||||
else if (rejection.data && !rejection.data.quiet) {
|
||||
// Broadcast the response error
|
||||
$rootScope.$broadcast('http:Error', rejection);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue