mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-19 05:54:31 +01:00
Adding logging to try and catch situations where invoice is not expired
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user