diff --git a/routing/payment_lifecycle.go b/routing/payment_lifecycle.go index aaebc5bf..0e61dec1 100644 --- a/routing/payment_lifecycle.go +++ b/routing/payment_lifecycle.go @@ -107,7 +107,7 @@ func (p *paymentLifecycle) resumePayment() ([32]byte, *route.Route, error) { for _, a := range payment.InFlightHTLCs() { a := a - log.Debugf("Resuming payment shard %v for hash %v", + log.Infof("Resuming payment shard %v for hash %v", a.AttemptID, p.paymentHash) shardHandler.collectResultAsync(&a.HTLCAttemptInfo) @@ -687,7 +687,7 @@ func (p *shardHandler) handleSendError(attempt *channeldb.HTLCAttemptInfo, return nil } - log.Debugf("Payment %v failed: final_outcome=%v, raw_err=%v", + log.Infof("Payment %v failed: final_outcome=%v, raw_err=%v", p.paymentHash, *reason, sendErr) err := p.router.cfg.Control.Fail(p.paymentHash, *reason) diff --git a/routing/router.go b/routing/router.go index af1e8d75..4e4bcbef 100644 --- a/routing/router.go +++ b/routing/router.go @@ -2006,8 +2006,8 @@ func (r *ChannelRouter) tryApplyChannelUpdate(rt *route.Route, // processSendError analyzes the error for the payment attempt received from the // switch and updates mission control and/or channel policies. Depending on the // error type, this error is either the final outcome of the payment or we need -// to continue with an alternative route. This is indicated by the boolean -// return value. +// to continue with an alternative route. A final outcome is indicated by a +// non-nil return value. func (r *ChannelRouter) processSendError(paymentID uint64, rt *route.Route, sendErr error) *channeldb.FailureReason {