From fbe88a4e239a03eaeb69537bfde1577eda7ad953 Mon Sep 17 00:00:00 2001 From: mik3ybark3r <89518082+mik3ybark3r@users.noreply.github.com> Date: Sat, 8 Jun 2024 07:59:09 +0200 Subject: [PATCH] fix(tsc): log catched errors to console (#4451) This prevents that the output of a successful vue-tsc run looks the same like one finished with an unexpected error. Co-authored-by: Christian Rudolf --- packages/tsc/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/tsc/index.ts b/packages/tsc/index.ts index 4198744b1c..120a15534d 100644 --- a/packages/tsc/index.ts +++ b/packages/tsc/index.ts @@ -57,6 +57,8 @@ export function run() { } catch (err) { if (err === extensionsChangedException) { main(); + } else { + console.error(err); } } }