From 78aaaa5e3cb3ceb8c1f97cdc8236afda0a1116c2 Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Thu, 24 Aug 2023 15:24:37 +1000 Subject: [PATCH] Fix %w in Fatal log --- clicommand/agent_start.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clicommand/agent_start.go b/clicommand/agent_start.go index 97056fe1fc..a984f7e598 100644 --- a/clicommand/agent_start.go +++ b/clicommand/agent_start.go @@ -813,12 +813,12 @@ var AgentStartCommand = cli.Command{ if cfg.JobVerificationJWKSPath != "" { jwksBytes, err := os.ReadFile(cfg.JobVerificationJWKSPath) if err != nil { - l.Fatal("Failed to read job verification key: %w", err) + l.Fatal("Failed to read job verification key: %v", err) } jwks, err = jwk.Parse(jwksBytes) if err != nil { - l.Fatal("Failed to parse job verification key set: %w", err) + l.Fatal("Failed to parse job verification key set: %v", err) } if jwks.Len() == 0 {