mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-07 16:14:20 +01:00
Logging Swagger errors for logging and easier debugging
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
// </auto-generated>
|
||||
//----------------------
|
||||
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace BTCPayServer.Payments.Lightning.Lnd
|
||||
{
|
||||
#pragma warning disable // Disable all warnings
|
||||
@@ -8698,6 +8700,8 @@ namespace BTCPayServer.Payments.Lightning.Lnd
|
||||
StatusCode = statusCode;
|
||||
Response = response;
|
||||
Headers = headers;
|
||||
|
||||
Debug.WriteLine($"SwaggerException: {response}");
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
@@ -8718,4 +8722,4 @@ namespace BTCPayServer.Payments.Lightning.Lnd
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user