Fix annoying err message in logs when a websocket is cancelled

This commit is contained in:
nicolas.dorier
2021-10-07 15:35:06 +09:00
parent 768d97ac6c
commit d3f9eb38a9

View File

@@ -72,7 +72,7 @@ namespace BTCPayServer.Controllers
await websocketHelper.NextMessageAsync(cancellationToken); await websocketHelper.NextMessageAsync(cancellationToken);
} }
catch (TaskCanceledException) catch (OperationCanceledException)
{ {
// ignored // ignored
} }