discovery: add more detail to error logging in processNetworkAnnouncement

This commit is contained in:
Olaoluwa Osuntokun 2017-09-12 17:12:16 +02:00
parent 5044cd6468
commit c529597ff9
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -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