Skip to content

#83: Fixed error handling when send request fails with an exception.#84

Open
thberger wants to merge 1 commit into
rschreijer:masterfrom
CleverShuttle:bugfix/issue83-error-handling
Open

#83: Fixed error handling when send request fails with an exception.#84
thberger wants to merge 1 commit into
rschreijer:masterfrom
CleverShuttle:bugfix/issue83-error-handling

Conversation

@thberger

@thberger thberger commented Dec 7, 2017

Copy link
Copy Markdown

Fixes #83 by

  • checking if response is null first
  • consuming the response entity quietly to avoid any new exception in the finally block which would hide the original exception.

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.

1 participant