File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
library/src/main/java/com/loopj/android/http Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ private void makeRequestWithRetries() throws IOException {
183183 // while the WI-FI is initialising. The retry logic will be invoked here, if this is NOT the first retry
184184 // (to assist in genuine cases of unknown host) which seems better than outright failure
185185 cause = new IOException ("UnknownHostException exception: " + e .getMessage ());
186- retry = (executionCount > 0 ) && retryHandler .retryRequest (cause , ++executionCount , context );
186+ retry = (executionCount > 0 ) && retryHandler .retryRequest (e , ++executionCount , context );
187187 } catch (NullPointerException e ) {
188188 // there's a bug in HttpClient 4.0.x that on some occasions causes
189189 // DefaultRequestExecutor to throw an NPE, see
You can’t perform that action at this time.
0 commit comments