mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Add temporary log to debug stufftech
This commit is contained in:
@@ -87,7 +87,10 @@ namespace BTCPayServer
|
|||||||
actionList = actions.Values.ToList();
|
actionList = actions.Values.ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(evt is Events.InvoiceEvent inv && inv.EventCode == 1002)
|
||||||
|
{
|
||||||
|
Logs.Events.LogInformation(new System.Diagnostics.StackTrace().ToString());
|
||||||
|
}
|
||||||
var log = evt.ToString();
|
var log = evt.ToString();
|
||||||
if(!String.IsNullOrEmpty(log))
|
if(!String.IsNullOrEmpty(log))
|
||||||
Logs.Events.LogInformation(log);
|
Logs.Events.LogInformation(log);
|
||||||
|
|||||||
@@ -509,6 +509,7 @@ namespace BTCPayServer.Services.Invoices
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
await context.SaveChangesAsync().ConfigureAwait(false);
|
await context.SaveChangesAsync().ConfigureAwait(false);
|
||||||
|
Logs.PayServer.LogInformation(new System.Diagnostics.StackTrace().ToString());
|
||||||
}
|
}
|
||||||
catch(DbUpdateException) { return null; } // Already exists
|
catch(DbUpdateException) { return null; } // Already exists
|
||||||
AddToTextSearch(invoiceId, paymentData.GetSearchTerms());
|
AddToTextSearch(invoiceId, paymentData.GetSearchTerms());
|
||||||
|
|||||||
Reference in New Issue
Block a user