mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
discovery: add more detail to error logging in processNetworkAnnouncement
This commit is contained in:
parent
5044cd6468
commit
c529597ff9
1 changed files with 4 additions and 2 deletions
|
@ -767,9 +767,11 @@ func (d *AuthenticatedGossiper) processNetworkAnnouncement(nMsg *networkMsg) []l
|
|||
if routing.IsError(err, routing.ErrOutdated,
|
||||
routing.ErrIgnored) {
|
||||
|
||||
log.Debug(err)
|
||||
log.Debugf("Router rejected channel edge: %v",
|
||||
err)
|
||||
} else {
|
||||
log.Error(err)
|
||||
log.Errorf("Router rejected channel edge: %v",
|
||||
err)
|
||||
}
|
||||
|
||||
nMsg.err <- err
|
||||
|
|
Loading…
Add table
Reference in a new issue