mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Add temporary log for stufftech debug
This commit is contained in:
parent
799ce74f65
commit
fb57d8c3ce
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue