brontide: log at debug, not error, when ignoring enable request
This commit is contained in:
1 parent
19e9ed5cdf
commit
5a54d787e1
1 file changed
+4
-1
+4
-1
@@ -2286,7 +2286,10 @@ func (p *Brontide) reenableActiveChannels() {
|
||||
// channel is already active, the update won't be sent.
|
||||
for _, chanPoint := range activePublicChans {
|
||||
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",
|
||||
chanPoint, err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user