Skip to content

Commit

Permalink
Error if we can't create the http cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreer committed Nov 21, 2024
1 parent f6b3098 commit a271c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/uhttp/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func NewBaseHttpClientWithContext(ctx context.Context, httpClient *http.Client,
cache, err := NewHttpCache(ctx, nil)
if err != nil {
l.Error("error creating http cache", zap.Error(err))
return nil, err
}
cli := &BaseHttpClient{
HttpClient: httpClient,
Expand Down

0 comments on commit a271c5b

Please sign in to comment.