Skip to content

Commit 63a7047

Browse files
authored
Merge pull request #2330 from yoyo930021/fix-2324
Fix #2324
2 parents 9cc4943 + e4eea89 commit 63a7047

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Upgrade `@prettier/plugin-pug` to fix formatter issues. #2347.
66
- Fix files with CRLF having errors with wrong range. #1319.
77
- 🙌 Fix collapse code missing end mark. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). #2303 and #2352.
8+
- 🙌 Display VTI errors. Thanks to contribution from [@yoyo930021](https://github.com/yoyo930021). #2324 and #2330.
89

910
### 0.28.0 | 2020-09-23 | [VSIX](https://marketplace.visualstudio.com/_apis/public/gallery/publishers/octref/vsextensions/vetur/0.28.0/vspackage)
1011

vti/src/cli.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ async function getDiagnostics(workspaceUri: URI) {
163163
console.log(' vti diagnostics ---- Print all diagnostics');
164164
console.log('');
165165
}
166-
})().catch(_err => {
167-
console.error('VTI operation failed');
166+
})().catch(err => {
167+
console.error(`VTI operation failed with error: ${err}`);
168+
process.exit(1);
168169
});

0 commit comments

Comments
 (0)