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

Unified Diff: web/inc/logdog-stream-view/model.ts

Issue 2887153005: [logdog-stream-view] Auth and misc bugfixes. (Closed)
Patch Set: Created 3 years, 7 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 | « web/inc/logdog-stream-view/logdog-stream-view.html ('k') | web/inc/logdog-stream-view/view.ts » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: web/inc/logdog-stream-view/model.ts
diff --git a/web/inc/logdog-stream-view/model.ts b/web/inc/logdog-stream-view/model.ts
index a830666802d3a989ecd016b757aa8ae214b1cb99..f242bd49135b496f519f43f6a78895a6a62e4d37 100644
--- a/web/inc/logdog-stream-view/model.ts
+++ b/web/inc/logdog-stream-view/model.ts
@@ -494,6 +494,8 @@ namespace LogDog {
try {
hasLogs = await this.fetchLocationRound(l, op);
} catch (err) {
+ console.log('Fetch failed with error:', err);
+
// Cancel the timer here, since we may enter other states in this
// "catch" block and we don't want to have the timer override them.
loadingWhileTimer.cancel();
@@ -503,7 +505,6 @@ namespace LogDog {
return;
}
- this.clearCurrentOperation(op);
if (err === NOT_AUTHENTICATED) {
this.loadingState = LoadingState.NEEDS_AUTH;
« no previous file with comments | « web/inc/logdog-stream-view/logdog-stream-view.html ('k') | web/inc/logdog-stream-view/view.ts » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698