Skip to content

Commit

Permalink
fix(web(js)): avoid throwing an error when disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Aug 13, 2020
1 parent 9ece688 commit 7b9e750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Common/Common.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7b9e750

Please sign in to comment.