From a364d2cd823ab5c366b15f5cd73f95909482f01d Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Mon, 11 Nov 2019 12:27:24 +0100 Subject: [PATCH] routing: log route when payment attempt fails --- routing/payment_lifecycle.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/payment_lifecycle.go b/routing/payment_lifecycle.go index 695a0d49..a8017eaa 100644 --- a/routing/payment_lifecycle.go +++ b/routing/payment_lifecycle.go @@ -341,8 +341,8 @@ func (p *paymentLifecycle) sendPaymentAttempt(firstHop lnwire.ShortChannelID, return err } - log.Debugf("Payment %x (pid=%v) successfully sent to switch", - p.payment.PaymentHash, p.attempt.PaymentID) + log.Debugf("Payment %x (pid=%v) successfully sent to switch, route: %v", + p.payment.PaymentHash, p.attempt.PaymentID, &p.attempt.Route) return nil }