Skip to content

Commit df26cc1

Browse files
committed
add log
1 parent bf223de commit df26cc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

QiniuSDK/Http/QNHttpManager.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ - (void) sendRequest:(NSMutableURLRequest *)request
6666
if (info.isOK) {
6767
resp = responseObject;
6868
}
69+
NSLog(@"success %@", info);
6970
completeBlock(info, resp);
7071
} failure: ^(AFHTTPRequestOperation *operation, NSError *error) {
7172
double duration = [[NSDate date] timeIntervalSinceDate:startTime];
7273
QNResponseInfo *info = [QNHttpManager buildResponseInfo:operation withError:error withDuration:duration withResponse:operation.responseData];
74+
NSLog(@"failure %@", info);
7375
completeBlock(info, nil);
7476
}
7577

0 commit comments

Comments
 (0)