From 56db5a83c0828fd7e96f69120b1dc5cfc6772b5a Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Fri, 5 Dec 2025 17:03:04 +0000 Subject: [PATCH] chore(healthcheck): log one error per line on failure for readability --- internal/healthcheck/checker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/healthcheck/checker.go b/internal/healthcheck/checker.go index edf45e16..d7f8110a 100644 --- a/internal/healthcheck/checker.go +++ b/internal/healthcheck/checker.go @@ -262,7 +262,7 @@ func withRetries(ctx context.Context, tryTimeouts []time.Duration, for i, err := range errs { errStrings[i] = fmt.Sprintf("attempt %d (%dms): %s", i+1, err.durationMS, err.err) } - return fmt.Errorf("%w: %s", ErrAllCheckTriesFailed, strings.Join(errStrings, ", ")) + return fmt.Errorf("%w:\n\t%s", ErrAllCheckTriesFailed, strings.Join(errStrings, "\n\t")) } func (c *Checker) startupCheck(ctx context.Context) error {