Commit 10339090 by Torkel Ödegaard

fix(annotations): fixed annotation error handling, fixes #5077

parent b6dcf6bd
......@@ -55,9 +55,10 @@ define([
}, this);
});
promiseCached = $q.all(promises)
.then(function() {
promiseCached = $q.all(promises).then(function() {
return list;
}).catch(function(err) {
$rootScope.appEvent('alert-error', ['Annotations failed', (err.message || err)]);
});
return promiseCached;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment