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 a field to store the HTTP status in Errors. #16

Merged
merged 6 commits into from
May 25, 2022
Merged

Conversation

jbtrystram
Copy link
Member

Having the status code chucked in the string message made it hard to
machine-read it. The only uses of the "message" field where simply
copying the code in there. I moved that to the display impl.

@jbtrystram jbtrystram requested a review from ctron May 5, 2022 10:00
@jbtrystram jbtrystram force-pushed the service_status branch 2 times, most recently from 73a8f8b to 94ece86 Compare May 9, 2022 14:01
Having the status code chucked in the string message made it hard to
machine-read it. The only uses of the "message" field where simply
copying the code in there. I moved that to the display impl.
src/util/client/mod.rs Outdated Show resolved Hide resolved
@jbtrystram jbtrystram merged commit 4e1af78 into main May 25, 2022
@jbtrystram jbtrystram deleted the service_status branch May 25, 2022 13:54
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