Add temporary log to debug stufftech

This commit is contained in:
nicolas.dorier
2018-03-29 12:14:51 +09:00
parent 6d8acf54d6
commit a1c22e8071
2 changed files with 5 additions and 1 deletions

View File

@@ -87,7 +87,10 @@ namespace BTCPayServer
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();
if(!String.IsNullOrEmpty(log))
Logs.Events.LogInformation(log);