routing: promote shard logs on resume and terminal failure to Info

This commit is contained in:
Johan T. Halseth committed 2020-11-24 14:59:39 +01:00
1 parent f8493a7522
commit df049ad755
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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)