Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add snafu::report to get better error detail #694

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

NickLarsenNZ
Copy link
Member

@NickLarsenNZ NickLarsenNZ commented Feb 25, 2025

Fixes #692.

There was a regression introduced in native-tls 0.2.13.

Before:

Error: ConstructHttpClient { source: reqwest::Error { kind: Builder, source: Normal(ErrorStack(])) } }

After:

Error: failed to construct http client

Caused by these errors (recent errors listed first):
  1: builder error
  2: OpenSSL error

NickLarsenNZ and others added 2 commits February 25, 2025 15:21
Before:

```
Error: ConstructHttpClient { source: reqwest::Error { kind: Builder, source: Normal(ErrorStack(])) } }
stream closed EOF for kuttl-test-assuring-molly/test-opa-server-default-wwhn7 (user-info-fetcher)
```

After:

```
Error: failed to construct http client

Caused by these errors (recent errors listed first):
  1: builder error
  2: OpenSSL error

stream closed EOF for kuttl-test-assuring-molly/test-opa-server-default-5pjjk (user-info-fetcher)
```

Co-authored-by: Techassi <[email protected]>
@NickLarsenNZ NickLarsenNZ self-assigned this Feb 25, 2025
@NickLarsenNZ NickLarsenNZ added this pull request to the merge queue Feb 25, 2025
Merged via the queue into main with commit e691eb1 Feb 25, 2025
17 checks passed
@NickLarsenNZ NickLarsenNZ deleted the fix/native-tls branch February 25, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Development: Done
Development

Successfully merging this pull request may close these issues.

UserInfoFetcher fails to launch
2 participants