mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:58:55 -05:00
Print Error literal at the start of all error messages for better parsing from the logs (#260)
This commit is contained in:
@@ -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`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user