Skip to content

Commit

Permalink
Add epoch number to new membership error message
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Pavlovic <[email protected]>
  • Loading branch information
matejpavlovic committed Nov 24, 2022
1 parent 3e7da6f commit 06389f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/iss/iss.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func (iss *ISS) applyNewConfig(config *eventpb.NewConfig) (*events.EventList, er

// Sanity check.
if iss.nextNewMembership != nil {
return nil, fmt.Errorf("already have a new membership")
return nil, fmt.Errorf("already have a new membership for epoch %v", iss.epoch.Nr())
}

// Convenience variable.
Expand Down

0 comments on commit 06389f5

Please sign in to comment.