diff --git a/BTCPayServer/Payments/Lightning/Lnd/LndSwaggerClient.cs b/BTCPayServer/Payments/Lightning/Lnd/LndSwaggerClient.cs index 91c3fe157..c59793b8d 100644 --- a/BTCPayServer/Payments/Lightning/Lnd/LndSwaggerClient.cs +++ b/BTCPayServer/Payments/Lightning/Lnd/LndSwaggerClient.cs @@ -4,6 +4,8 @@ // //---------------------- +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 } } -} \ No newline at end of file +}