Please sign in to comment.
Guard against empty request body on errors
Creating a RequestException should only be performed if a RequestError was successfully parsed from the response body. An IOException should be created in cases where the request error was missing. Change-Id: I39abc38c1e30428399c04ce3adf1dea35a8ce2ac
- Loading branch information...
Showing with 10 additions and 4 deletions.