diff --git a/src/renderer/src/components/right-sidebar/PortsPanel.tsx b/src/renderer/src/components/right-sidebar/PortsPanel.tsx index 6ed2e72c2..967e5ba7d 100644 --- a/src/renderer/src/components/right-sidebar/PortsPanel.tsx +++ b/src/renderer/src/components/right-sidebar/PortsPanel.tsx @@ -275,7 +275,11 @@ function LocalWorkspacePortsPanel({ isVisible }: { isVisible: boolean }): React. } async function run(): Promise { - await refresh() + try { + await refresh() + } catch { + // Why: a transient RPC failure must not halt the poll loop. + } if (!cancelled) { timeout = setTimeout(() => void run(), LOCAL_PORT_SCAN_INTERVAL_MS) }