gotd: don't stop connection on channel error

This commit is contained in:
Tulir Asokan
2025-12-10 19:17:50 +02:00
parent 0e3b1b63a9
commit 69fcbd30ce
+2 -1
View File
@@ -394,7 +394,8 @@ func (s *internalState) createAndRunChannelState(ctx context.Context, channelID,
s.channelsLock.Lock()
delete(s.channels, channelID)
s.channelsLock.Unlock()
s.log.Info("Removed channel state due to error", zap.Int64("channel_id", channelID))
s.log.Info("Removed channel state due to error", zap.Int64("channel_id", channelID), zap.Error(err))
return nil
}
return err
})