Skip to content

Commit 23b87bc

Browse files
authored
Incremental build: catch exception during file checking (#15906)
1 parent 2dac712 commit 23b87bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler/Service/IncrementalBuild.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ type BoundModel private (
391391
GraphNode.FromResult tcInfo, tcInfoExtras
392392
| _ ->
393393
// start computing extras, so that typeCheckNode can be GC'd quickly
394-
startComputingFullTypeCheck |> Async.AwaitNodeCode |> Async.Ignore |> Async.Start
394+
startComputingFullTypeCheck |> Async.AwaitNodeCode |> Async.Catch |> Async.Ignore |> Async.Start
395395
getTcInfo typeCheckNode, tcInfoExtras
396396

397397
member val Diagnostics = diagnostics

0 commit comments

Comments
 (0)