checking error

This commit is contained in:
decanus
2019-06-13 13:08:38 -04:00
parent ea979539de
commit e3549df1e9

View File

@@ -296,7 +296,10 @@ func (n *Node) onMessage(group state.GroupID, sender state.PeerID, msg protobuf.
s := state.State{}
s.SendEpoch = n.epoch + 1
n.syncState.Set(group, id, peer, s)
err := n.syncState.Set(group, id, peer, s)
if err != nil {
log.Printf("error while setting sync state %s", err.Error())
}
}
}()