We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a50e62d commit 834decbCopy full SHA for 834decb
dotnet/src/webdriver/BiDi/Communication/Broker.cs
@@ -132,9 +132,9 @@ private async Task ReceiveMessagesAsync(CancellationToken cancellationToken)
132
ProcessReceivedMessage(data);
133
}
134
135
- catch (Exception ex)
+ catch (Exception ex) when (ex is not OperationCanceledException)
136
{
137
- if (cancellationToken.IsCancellationRequested is false && _logger.IsEnabled(LogEventLevel.Error))
+ if (_logger.IsEnabled(LogEventLevel.Error))
138
139
_logger.Error($"Couldn't process received BiDi remote message: {ex}");
140
0 commit comments