Skip to content

Commit 39b247a

Browse files
authored
Log environment error instead of returning it (#360)
1 parent 5d2ec15 commit 39b247a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ func (s *Store) markDirty(name string) {
709709
func (s *Store) monitorLease(ctx context.Context) (err error) {
710710
// Initialize environment to indicate this node is not a primary.
711711
if err := s.Environment.SetPrimaryStatus(ctx, false); err != nil {
712-
return err
712+
slog.Info("cannot init primary status on host environment", slog.Any("err", err))
713713
}
714714

715715
var handoffLeaseID string

0 commit comments

Comments
 (0)