Skip to content

Commit

Permalink
Fix %w in Fatal log
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJosh9000 committed Aug 24, 2023
1 parent ab13e10 commit 78aaaa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clicommand/agent_start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 78aaaa5

Please sign in to comment.