Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set exception cause when re-raising IOException
This allows to execute custom logic in AsyncHttpResponseHandler.onFailure for specific errors, e.g. to display a nicer error message to the user when there is a DNS resolution failure, instead of leaking a useless and verbose UnknownHostException in the UI.
- Loading branch information