Update extensions/cli/src/ui/hooks/useChat.remote.helpers.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Nate Sesti 2025-09-01 14:58:41 -07:00 • committed by GitHub
parent 9be24f3e4a
commit c628ea6559
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,7 +131,7 @@ export async function handleRemoteExit(
services.chatHistory.addSystemMessage(
"Remote environment is shutting down...",
);
} catch {}
} catch (err) { logger.error("Failed to add system message", err); }
setTimeout(() => exit(), 1000);
} else {
const text = await response.text();