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:
TÂCHES 2026-03-17 18:29:30 -06:00 committed by GitHub
parent 61f4693f16
commit 1e2d83ac35

View file

@ -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);
}