mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
multi: add logs to debug potential payment sending issue
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user