-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for trying to get the RawStream for errors.
3638421 introduced a change to try to get additional error content from the response stream when we received an error from the server. Unfortunately, there was a typo in the parameter name we were attempting to access the content stream from, resulting in a new exception being thrown: "You cannot call a method on a null-valued expression". This fixes the typo, and also makes the attempt to get that value best-effort by doing a try/catch around the call, simply so that we never lose reporting the true error from the API.
- Loading branch information
1 parent
e56c67c
commit 9c7756f
Showing
3 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters