From ab1805d7c08f29da386ad3ca2dba8397e798bf96 Mon Sep 17 00:00:00 2001 From: Shantnu Suman Date: Wed, 16 Jul 2025 16:21:56 +0530 Subject: [PATCH] Print Error literal at the start of all error messages for better parsing from the logs (#260) --- extensions/copilot/test/simulationMain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/copilot/test/simulationMain.ts b/extensions/copilot/test/simulationMain.ts index 8be75763505..cd20303014b 100644 --- a/extensions/copilot/test/simulationMain.ts +++ b/extensions/copilot/test/simulationMain.ts @@ -82,7 +82,7 @@ async function main() { console.error(`\n${red("⚠️⚠️⚠️ Command failed with:")}\n\n`); for (let i = 0; i < errors.length; i++) { - const idx = errors.length === 1 ? '' : `Error ${i + 1}) `; + const idx = `Error${errors.length === 1 ? '' : ` ${i + 1})`} `; console.error(`\t${idx}${errors[i]}\n\n`); } }