We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6dcf6b commit 1033909Copy full SHA for 1033909
public/app/features/annotations/annotations_srv.js
@@ -55,10 +55,11 @@ define([
55
}, this);
56
});
57
58
- promiseCached = $q.all(promises)
59
- .then(function() {
60
- return list;
61
- });
+ promiseCached = $q.all(promises).then(function() {
+ return list;
+ }).catch(function(err) {
+ $rootScope.appEvent('alert-error', ['Annotations failed', (err.message || err)]);
62
+ });
63
64
return promiseCached;
65
};
0 commit comments