brontide: log at debug, not error, when ignoring enable request
This commit is contained in:
parent
19e9ed5cdf
commit
5a54d787e1
@ -2286,7 +2286,10 @@ func (p *Brontide) reenableActiveChannels() {
|
|||||||
// channel is already active, the update won't be sent.
|
// channel is already active, the update won't be sent.
|
||||||
for _, chanPoint := range activePublicChans {
|
for _, chanPoint := range activePublicChans {
|
||||||
err := p.cfg.ChanStatusMgr.RequestEnable(chanPoint, false)
|
err := p.cfg.ChanStatusMgr.RequestEnable(chanPoint, false)
|
||||||
if err != nil {
|
if err == netann.ErrEnableManuallyDisabledChan {
|
||||||
|
peerLog.Debugf("Channel(%v) was manually disabled, ignoring "+
|
||||||
|
"automatic enable request", chanPoint)
|
||||||
|
} else if err != nil {
|
||||||
peerLog.Errorf("Unable to enable channel %v: %v",
|
peerLog.Errorf("Unable to enable channel %v: %v",
|
||||||
chanPoint, err)
|
chanPoint, err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user