From e7ec612c6b797d68bcff49e842e62309f0966a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Zorro=20=28Windows=20PC=29?= Date: Thu, 21 Nov 2024 09:13:05 -0500 Subject: [PATCH] ci(e2e): improved error message for workspace creation --- lib/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main.ts b/lib/main.ts index f6f495d..ab81f65 100644 --- a/lib/main.ts +++ b/lib/main.ts @@ -71,7 +71,8 @@ Let's create a new one by answering the questions below. ); process.exit(0); } catch (err) { - console.error(err); + console.error(chalk.red("[ERROR]:"), err?.toString()); + console.log(chalk.gray("[DEBUG]:"), (err as Error)); process.exit(1); } }