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 {
183
183
// while the WI-FI is initialising. The retry logic will be invoked here, if this is NOT the first retry
184
184
// (to assist in genuine cases of unknown host) which seems better than outright failure
185
185
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 );
187
187
} catch (NullPointerException e ) {
188
188
// there's a bug in HttpClient 4.0.x that on some occasions causes
189
189
// DefaultRequestExecutor to throw an NPE, see
You can’t perform that action at this time.
0 commit comments