diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj
index da0db7209..32d7a2521 100644
--- a/BTCPayServer/BTCPayServer.csproj
+++ b/BTCPayServer/BTCPayServer.csproj
@@ -2,7 +2,7 @@
Exe
netcoreapp2.0
- 1.0.1.3
+ 1.0.1.4
diff --git a/BTCPayServer/HostedServices/InvoiceWatcher.cs b/BTCPayServer/HostedServices/InvoiceWatcher.cs
index 96569e541..0c4f4259f 100644
--- a/BTCPayServer/HostedServices/InvoiceWatcher.cs
+++ b/BTCPayServer/HostedServices/InvoiceWatcher.cs
@@ -489,10 +489,10 @@ namespace BTCPayServer.HostedServices
}
catch (Exception ex) when (!cancellation.IsCancellationRequested)
{
- Logs.PayServer.LogCritical(ex, $"Error in the InvoiceWatcher loop (Invoice {item})");
+ Logs.PayServer.LogCritical(ex, $"Error in the InvoiceWatcher loop (Invoice {i})");
await Task.Delay(2000, cancellation);
}
- finally { executing.TryRemove(item, out Task useless); }
+ finally { executing.TryRemove(i, out Task useless); }
});
}
}