mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
handle error on LoadSchema() message
This commit is contained in:
parent
c37424f24f
commit
7a5192aba6
1 changed files with 4 additions and 1 deletions
|
|
@ -855,7 +855,10 @@ func (s *Server) receiveMessage(m Message) error {
|
|||
s.holder.recalculateCaches()
|
||||
|
||||
case *LoadSchemaMessage:
|
||||
s.holder.LoadSchema()
|
||||
err := s.holder.LoadSchema()
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "handling load schema message: %v", obj)
|
||||
}
|
||||
|
||||
case *NodeStatus:
|
||||
s.handleRemoteStatus(obj)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue