Skip to content

Commit

Permalink
fix(tsc): log catched errors to console (#4451)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mik3ybark3r and Christian Rudolf authored Jun 8, 2024
1 parent 5d6f84a commit fbe88a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/tsc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export function run() {
} catch (err) {
if (err === extensionsChangedException) {
main();
} else {
console.error(err);
}
}
}
Expand Down

0 comments on commit fbe88a4

Please sign in to comment.