Skip to content

Commit 1de3d17

Browse files
committed
[Issue #77] Returning correct error ivar in AFHTTPRequestOperation -error
1 parent 3040aaf commit 1de3d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AFNetworking/AFHTTPRequestOperation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ - (NSError *)error {
7070
}
7171
}
7272

73-
return [super error];
73+
return _HTTPError;
7474
}
7575

7676
- (BOOL)hasAcceptableStatusCode {

0 commit comments

Comments
 (0)