Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Broker.cs
  • Loading branch information
nvborisenko committed Sep 30, 2025
commit 834decbf5b08541c2cbca99c2eb0eec565eb756c
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/BiDi/Communication/Broker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ private async Task ReceiveMessagesAsync(CancellationToken cancellationToken)
ProcessReceivedMessage(data);
}
}
catch (Exception ex)
catch (Exception ex) when (ex is not OperationCanceledException)
{
if (cancellationToken.IsCancellationRequested is false && _logger.IsEnabled(LogEventLevel.Error))
if (_logger.IsEnabled(LogEventLevel.Error))
{
_logger.Error($"Couldn't process received BiDi remote message: {ex}");
}
Expand Down
Loading