mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-20 23:44:21 +01:00
Add temporary log for stufftech debug
This commit is contained in:
@@ -512,9 +512,9 @@ namespace BTCPayServer.Services.Invoices
|
|||||||
builder.AppendLine(data.Id);
|
builder.AppendLine(data.Id);
|
||||||
builder.AppendLine(data.InvoiceDataId);
|
builder.AppendLine(data.InvoiceDataId);
|
||||||
builder.AppendLine(context.Database.ProviderName);
|
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);
|
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());
|
Logs.PayServer.LogInformation(builder.ToString());
|
||||||
}
|
}
|
||||||
catch(DbUpdateException) { return null; } // Already exists
|
catch(DbUpdateException) { return null; } // Already exists
|
||||||
|
|||||||
Reference in New Issue
Block a user