From 75c422116c04d13744e65819c4e4108eb854ba1a Mon Sep 17 00:00:00 2001 From: Leonard Goodell Date: Wed, 27 Oct 2021 11:25:01 -0700 Subject: [PATCH] fix: Fix Error logging to properly include error message fixes #3784 Signed-off-by: Leonard Goodell --- internal/security/secretstore/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/security/secretstore/init.go b/internal/security/secretstore/init.go index 8a5e51faab..de2b7965e9 100644 --- a/internal/security/secretstore/init.go +++ b/internal/security/secretstore/init.go @@ -418,7 +418,7 @@ func (b *Bootstrap) BootstrapHandler(ctx context.Context, _ *sync.WaitGroup, _ s err = ConfigureSecureMessageBus(configuration.SecureMessageBus, redis5Pair, lc) if err != nil { - lc.Error("failed to configure for Secure Message Bus: %w", err) + lc.Errorf("failed to configure for Secure Message Bus: %s", err.Error()) os.Exit(1) }