Skip to content

Commit 621c8ad

Browse files
mik3ybark3rChristian Rudolf
authored andcommitted
fix(tsc): log catched errors to console (vuejs#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 <rudolf@iat.uni-leipzig.de>
1 parent 8de1cdc commit 621c8ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/tsc/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ export function run() {
5858
} catch (err) {
5959
if (err === extensionsChangedException) {
6060
main();
61+
} else {
62+
console.error(err);
6163
}
6264
}
6365
}

0 commit comments

Comments
 (0)