multi: add logs to debug potential payment sending issue

This commit is contained in:
ziggie
2025-07-06 09:28:53 +02:00
committed by Oliver Gugger
parent 103b24e7ff
commit 7bcb65d9e6
4 changed files with 29 additions and 2 deletions

View File

@@ -91,7 +91,10 @@ func (b *bandwidthManager) getBandwidth(cid lnwire.ShortChannelID,
if err != nil {
// If the link isn't online, then we'll report that it has
// zero bandwidth.
log.Warnf("ShortChannelID=%v: link not found: %v", cid, err)
log.Warnf("ShortChannelID=%v: link not found when "+
"determining bandwidth for local channel=%v, "+
"reporting 0 bandwidth", cid, err)
return 0
}