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

add encode/decode explicit logging #1658

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

jasonwbarnett
Copy link
Contributor

@jasonwbarnett jasonwbarnett commented Mar 14, 2024

Motivation

I ran into an error when trying to debug pants and when looking up the error in tonic's source I found two places with identical error messages which made it more difficult to identify the true error source.

Solution

Add explicit details to the error message that will help someone identify the cause.

@jasonwbarnett jasonwbarnett changed the title add more explicit logging add encode/decode explicit logging Mar 14, 2024
@tottoto
Copy link
Collaborator

tottoto commented Jun 2, 2024

Sounds reasonable to me.

@djc djc added this pull request to the merge queue Jun 2, 2024
Merged via the queue into hyperium:master with commit c783652 Jun 2, 2024
16 checks passed
@jasonwbarnett jasonwbarnett deleted the jwb/add-better-err-messages branch June 3, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants