mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
routing: print proper error msg on payment send fail
This commit is contained in:
parent
7ac50b060e
commit
1bb225a9bd
1 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,7 @@ func (r *ChannelRouter) SendPayment(payment *LightningPayment) ([32]byte, *Route
|
|||
preImage, sendError = r.cfg.SendToSwitch(firstHop, htlcAdd)
|
||||
if sendError != nil {
|
||||
log.Errorf("Attempt to send payment %x failed: %v",
|
||||
payment.PaymentHash, err)
|
||||
payment.PaymentHash, sendError)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue