mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-18 17:16:52 +01:00
Fix a failed return in an error case (#445)
This commit is contained in:
1 parent
7859140711
commit
a1ee521d79
1 file changed
+1
-1
+1
-1
@@ -369,7 +369,7 @@ func (lh *LightHouse) SendUpdate(f EncWriter) {
|
||||
out := make([]byte, mtu)
|
||||
|
||||
mm, err := proto.Marshal(m)
|
||||
if err != nil && lh.l.Level >= logrus.DebugLevel {
|
||||
if err != nil {
|
||||
lh.l.WithError(err).Error("Error while marshaling for lighthouse update")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user