From fb57d8c3ce9f4b6e5d1ced035cda4cd385e6c75a Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 29 Mar 2018 12:21:20 +0900 Subject: [PATCH] Add temporary log for stufftech debug --- BTCPayServer/Services/Invoices/InvoiceRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Services/Invoices/InvoiceRepository.cs b/BTCPayServer/Services/Invoices/InvoiceRepository.cs index 874111ba6..c1f6d32e4 100644 --- a/BTCPayServer/Services/Invoices/InvoiceRepository.cs +++ b/BTCPayServer/Services/Invoices/InvoiceRepository.cs @@ -512,9 +512,9 @@ namespace BTCPayServer.Services.Invoices builder.AppendLine(data.Id); builder.AppendLine(data.InvoiceDataId); builder.AppendLine(context.Database.ProviderName); - builder.AppendLine(context.Payments.AnyAsync(p => p.Id == data.Id).ToString()); + builder.AppendLine((await context.Payments.AnyAsync(p => p.Id == data.Id)).ToString()); await context.SaveChangesAsync().ConfigureAwait(false); - builder.AppendLine(context.Payments.AnyAsync(p => p.Id == data.Id).ToString()); + builder.AppendLine((await context.Payments.AnyAsync(p => p.Id == data.Id)).ToString()); Logs.PayServer.LogInformation(builder.ToString()); } catch(DbUpdateException) { return null; } // Already exists