File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -227,13 +227,17 @@ let compilerLogsWatcher = chokidar
227
227
}
228
228
}
229
229
} else {
230
- sendUpdatedDiagnostics ( ) ;
231
- sendCompilationFinishedMessage ( ) ;
232
- if ( config . extensionConfiguration . inlayHints ?. enable === true ) {
233
- sendInlayHintsRefresh ( ) ;
234
- }
235
- if ( config . extensionConfiguration . codeLens === true ) {
236
- sendCodeLensRefresh ( ) ;
230
+ try {
231
+ sendUpdatedDiagnostics ( ) ;
232
+ sendCompilationFinishedMessage ( ) ;
233
+ if ( config . extensionConfiguration . inlayHints ?. enable === true ) {
234
+ sendInlayHintsRefresh ( ) ;
235
+ }
236
+ if ( config . extensionConfiguration . codeLens === true ) {
237
+ sendCodeLensRefresh ( ) ;
238
+ }
239
+ } catch {
240
+ console . log ( "Error while sending updated diagnostics" ) ;
237
241
}
238
242
}
239
243
} ) ;
You can’t perform that action at this time.
0 commit comments