diff --git a/extensions/cli/src/ui/hooks/useChat.remote.helpers.ts b/extensions/cli/src/ui/hooks/useChat.remote.helpers.ts index fa9551aa6..a170d3545 100644 --- a/extensions/cli/src/ui/hooks/useChat.remote.helpers.ts +++ b/extensions/cli/src/ui/hooks/useChat.remote.helpers.ts @@ -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();