Skip to content

Commit 8191d36

Browse files
committed
Merge pull request #72 from williambao/patch-1
Update QiniuUtils.m
2 parents 5c65747 + 6d71648 commit 8191d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QiniuSDK/QiniuUtils.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
NSError *qiniuErrorWithOperation(AFHTTPRequestOperation *operation, NSError *error) {
1818

19-
if (operation == nil) {
19+
if (operation == nil || operation.responseObject == nil) {
2020
return error;
2121
}
2222

0 commit comments

Comments
 (0)