mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Fix annoying err message in logs when a websocket is cancelled
This commit is contained in:
@@ -72,7 +72,7 @@ namespace BTCPayServer.Controllers
|
||||
|
||||
await websocketHelper.NextMessageAsync(cancellationToken);
|
||||
}
|
||||
catch (TaskCanceledException)
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user