mirror of
https://github.com/samsonjs/Marshmallows.git
synced 2026-03-25 09:05:52 +00:00
pass error to http callbacks
This commit is contained in:
parent
8bcc03c752
commit
25cfde7355
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@
|
|||
[_responseData release];
|
||||
_responseData = nil;
|
||||
_statusCode = MMHTTPRequestStatusError;
|
||||
self.callback(self.statusCode, nil);
|
||||
self.callback(self.statusCode, error);
|
||||
}
|
||||
|
||||
- (void) connectionDidFinishLoading: (NSURLConnection *)connection
|
||||
|
|
|
|||
Loading…
Reference in a new issue