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

feat(cargo-shuttle): better error messages #391

Merged
merged 2 commits into from
Oct 11, 2022

Conversation

oddgrd
Copy link
Contributor

@oddgrd oddgrd commented Oct 11, 2022

Return an error message that is more relevant to the user than "failed to parse response to json" on non-200 responses.

Note: this is a simple and quick solution. We may want to refactor the errors sent from deployer/gateway to hold more information about what happened, so we can also suggest a solution when returning the error to the user.

return an error message that is more relevant to the user than "failed to parse response to json" on non-200 responses
@chesedo chesedo merged commit 37460c3 into shuttle-hq:v0.6.0rc1 Oct 11, 2022
@oddgrd oddgrd deleted the feat/better-client-errors branch October 11, 2022 13:02
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