diff --git a/service/health/health.go b/service/health/health.go index 94fc48780..ae006d1ac 100644 --- a/service/health/health.go +++ b/service/health/health.go @@ -60,7 +60,7 @@ func NewRegistration() *serviceregistry.Service[grpchealth.Checker] { } }) if err != nil { - srp.Logger.Error("failed to register healthz endpoint", slog.String("error", err.Error())) + panic(errors.Join(errors.New("failed to register healthz endpoint"), err)) } return nil