Skip to content

Commit

Permalink
small bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeker12 committed Jul 1, 2024
1 parent b3b06f4 commit 006f65b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions httpclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ func BuildClient(config ClientConfig, populateDefaultValues bool, log logger.Log

// TODO refactor redirects
if err := redirecthandler.SetupRedirectHandler(httpClient, config.FollowRedirects, config.MaxRedirects, log); err != nil {
log.Error("Failed to set up redirect handler", zap.Error(err))
return nil, err
return nil, fmt.Errorf("Failed to set up redirect handler: %v", err)
}

var concurrencyHandler *concurrency.ConcurrencyHandler
Expand Down

0 comments on commit 006f65b

Please sign in to comment.