Skip to content

Commit 80b8543

Browse files
authored
1 parent 2c5fdbe commit 80b8543

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/Browser/WasmBrowserTestRunner.cs

+5
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,11 @@ private async Task RunConsoleMessagesPump(WebSocket socket, CancellationToken to
188188
}
189189
}
190190
}
191+
catch (WebSocketException wse)
192+
{
193+
// this could happen when WebWorker is closed or when browser died
194+
_logger.LogDebug($"RunConsoleMessagesPump failed: {wse}");
195+
}
191196
catch (OperationCanceledException oce)
192197
{
193198
if (!token.IsCancellationRequested)

0 commit comments

Comments
 (0)