Update error message for GeneralHttpException
to include the status code
#530
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated the error message for the
GeneralHttpException
to include the status code, since I just observed a wild GHE thrown on a system outside my control and couldn't for the love of all computers find out which status code it had, even though I've tried to reproduce it and have since added GHE as an expected exception to handle in the retry policy in the app. Just wish I had the status code so I knew why it threw on that one system outside my control, so here I am, adding it for any future devs in my previous position. Feel free to suggest another format if my suggested one is not accepted. Or just reject it outright, but if you do reject it, do please explain why it's rejected.