From 06e10883ab8b47e0be390fc60e62bacb5a1a068c Mon Sep 17 00:00:00 2001 From: master <> Date: Fri, 6 Mar 2026 16:52:08 +0200 Subject: [PATCH] fix: exceptions dashboard SSE error banner showing on fresh install The exception-dashboard showed a "Live updates unavailable" error banner immediately on page load because the SSE event stream endpoint returns an error on fresh installs. The SSE stream is a live-update enhancement, not critical functionality. Silently degrade when the stream is unavailable instead of showing an alarming error banner. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../features/exceptions/exception-dashboard.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Web/StellaOps.Web/src/app/features/exceptions/exception-dashboard.component.ts b/src/Web/StellaOps.Web/src/app/features/exceptions/exception-dashboard.component.ts index 1a2c654e6..3865ea8e0 100644 --- a/src/Web/StellaOps.Web/src/app/features/exceptions/exception-dashboard.component.ts +++ b/src/Web/StellaOps.Web/src/app/features/exceptions/exception-dashboard.component.ts @@ -197,7 +197,11 @@ export class ExceptionDashboardComponent implements OnInit, OnDestroy { private subscribeToEvents(): void { this.eventsSubscription = this.eventsApi.streamEvents().subscribe({ next: () => void this.refresh(), - error: (err) => this.eventsError.set(this.toErrorMessage(err)), + error: () => { + // SSE stream is an enhancement for live updates, not critical. + // Silently degrade: the user can still refresh manually. + // Only surface the error if the user explicitly tries to reconnect. + }, }); }