Skip to content

Commit fbe88a4

Browse files
mik3ybark3rChristian Rudolf
andauthored
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 <[email protected]>
1 parent 5d6f84a commit fbe88a4

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
@@ -57,6 +57,8 @@ export function run() {
5757
} catch (err) {
5858
if (err === extensionsChangedException) {
5959
main();
60+
} else {
61+
console.error(err);
6062
}
6163
}
6264
}

0 commit comments

Comments
 (0)