I have
-(void)requestFailed:(ASIHTTPRequest *)request
{
NSError *error = [request error];
NSLog(@"Request Failed Error: %@", error);
}
When I make my request I do
//add data to the array
NSString *json = [array JSONRepresentation];
[request appendPostData:[json dataUsingEncoding:NSUTF8StringEncoding]];
[request startAsynchronous];
I'm getting this in my log:
0-08-11 16:52:11.652 MyProject[11720:207] Starting asynchronous request <ASIHTTPRequest: 0x5a7df10>
2010-08-11 16:52:11.861 MyProject[11720:207] Request finished downloading data 2010-08-11 16:52:11.861 MyProject[11720:207] Request failed: (gdb)
But my log statement in
-(void)requestFailed
is not getting called. Any ideas?
Cheers