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

fix: Add debug information to object store retries #3576

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

EmilLuta
Copy link
Contributor

@EmilLuta EmilLuta commented Feb 7, 2025

Currently, data is in format mode, which strips away a lot of the troubleshooting capabilities. This change marks error as Debug, instead of Display.

It will turn entries like:

error sending request for url (http://example.invalid/)

into:

reqwest::Error { kind: Request, url: "http://example.invalid/", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })) }

Currently, data is in format mode, which strips away a lot of the
troubleshooting capabilities. This change marks error as Debug, instead
of Display.

It will turn entries like:
```
error sending request for url (http://example.invalid/)
```
into:
```
reqwest::Error { kind: Request, url: "http://example.invalid/", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })) }
```
@EmilLuta EmilLuta added this pull request to the merge queue Feb 7, 2025
Merged via the queue into main with commit 036315c Feb 7, 2025
34 checks passed
@EmilLuta EmilLuta deleted the evl-add-object-store-troubleshooting branch February 7, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants