diff --git a/BTCPayServer/Controllers/NotificationsController.cs b/BTCPayServer/Controllers/NotificationsController.cs index c768b69e1..085d73860 100644 --- a/BTCPayServer/Controllers/NotificationsController.cs +++ b/BTCPayServer/Controllers/NotificationsController.cs @@ -72,7 +72,7 @@ namespace BTCPayServer.Controllers await websocketHelper.NextMessageAsync(cancellationToken); } - catch (TaskCanceledException) + catch (OperationCanceledException) { // ignored }