fix: add error handlers to visualizer overlay promise chains (#1027)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
61f4693f16
commit
1e2d83ac35
1 changed files with 4 additions and 1 deletions
|
|
@ -86,6 +86,9 @@ export class GSDVisualizerOverlay {
|
|||
this.data = d;
|
||||
this.loading = false;
|
||||
this.tui.requestRender();
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.tui.requestRender();
|
||||
});
|
||||
|
||||
this.refreshTimer = setInterval(() => {
|
||||
|
|
@ -94,7 +97,7 @@ export class GSDVisualizerOverlay {
|
|||
this.data = d;
|
||||
this.invalidate();
|
||||
this.tui.requestRender();
|
||||
});
|
||||
}).catch(() => {}); // retry on next interval
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue