diff --git a/BTCPayServer/HostedServices/InvoiceWatcher.cs b/BTCPayServer/HostedServices/InvoiceWatcher.cs index fffc5453e..85e62f071 100644 --- a/BTCPayServer/HostedServices/InvoiceWatcher.cs +++ b/BTCPayServer/HostedServices/InvoiceWatcher.cs @@ -180,7 +180,11 @@ namespace BTCPayServer.HostedServices { if (invoiceId == null) throw new ArgumentNullException(nameof(invoiceId)); - _WatchRequests.Writer.TryWrite(invoiceId); + + if (!_WatchRequests.Writer.TryWrite(invoiceId)) + { + Logs.PayServer.LogWarning($"Failed to write invoice {invoiceId} into WatchRequests channel"); + } } private async Task Wait(string invoiceId)