mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 22:05:23 +00:00
fix(web(js)): avoid throwing an error when disconnected
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user