From e653516fb1fab15565b554f78270d0079cd577c9 Mon Sep 17 00:00:00 2001 From: Tomasz Stefaniak Date: Fri, 1 Aug 2025 16:38:33 -0700 Subject: [PATCH] chore: clean up --- src/commands/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/chat.ts b/src/commands/chat.ts index 3169b8efb..67482a8f1 100644 --- a/src/commands/chat.ts +++ b/src/commands/chat.ts @@ -123,7 +123,7 @@ async function processMessage( // Save session after each successful response saveSession(chatHistory); } catch (e: any) { - logger.error(`Error: ${formatError(e)}`, e); + logger.error(`\n${chalk.red(`Error: ${formatError(e)}`)}`); if (!isHeadless) { logger.info( chalk.dim(`Chat history:\n${JSON.stringify(chatHistory, null, 2)}`)