Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: appengine/sheriff_o_matic/model/ct-failure-group.html

Issue 1922983002: sheriff_o_matic: Add error if ajax request fails. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/sheriff_o_matic/ui/ct-failure-card-buttons.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/sheriff_o_matic/model/ct-failure-group.html
diff --git a/appengine/sheriff_o_matic/model/ct-failure-group.html b/appengine/sheriff_o_matic/model/ct-failure-group.html
index 5d16c80a96b7bc96eed021a5a3d821992b9cd319..92508511ca3af5fb0f8335c50968ea4778ca1637 100644
--- a/appengine/sheriff_o_matic/model/ct-failure-group.html
+++ b/appengine/sheriff_o_matic/model/ct-failure-group.html
@@ -135,6 +135,10 @@ CTFailureGroup.prototype._updateAnnotation = function(kind, change) {
var parsed = JSON.parse(data);
CTFailureGroup._annotations[parsed.key] = parsed;
this._computeProperties();
+ }.bind(this), function(reject) {
+ if (this.errorCallback) {
+ this.errorCallback(reject);
+ }
}.bind(this));
};
« no previous file with comments | « no previous file | appengine/sheriff_o_matic/ui/ct-failure-card-buttons.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698