Skip to content

Commit

Permalink
Log environment error instead of returning it (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbjohnson authored Jun 23, 2023
1 parent 5d2ec15 commit 39b247a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ func (s *Store) markDirty(name string) {
func (s *Store) monitorLease(ctx context.Context) (err error) {
// Initialize environment to indicate this node is not a primary.
if err := s.Environment.SetPrimaryStatus(ctx, false); err != nil {
return err
slog.Info("cannot init primary status on host environment", slog.Any("err", err))
}

var handoffLeaseID string
Expand Down

0 comments on commit 39b247a

Please sign in to comment.