This is an automated email from the ASF dual-hosted git repository.
jianhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new 9714213 [iOS] Remove log which may cause infinite loop printing
invalid object.
new fff1284 Merge pull request #3067 from wqyfavor/protect-invalid-arg
9714213 is described below
commit 97142138ff87f0975293b8da2e91a87876fadb8a
Author: qianyuan.wqy <[email protected]>
AuthorDate: Mon Dec 9 14:44:58 2019 +0800
[iOS] Remove log which may cause infinite loop printing invalid object.
---
ios/sdk/WeexSDK/Sources/Utility/WXUtility.m | 1 -
1 file changed, 1 deletion(-)
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
index 3e2eb17..a8307bc 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
@@ -422,7 +422,6 @@ static BOOL gIsEnvironmentUsingDarkScheme = NO;
return true;
}
if (![string isKindOfClass:[NSString class]]) {
- WXLogError(@"%@ is not a string", string);
return true;
}
if ([[string stringByTrimmingCharactersInSet:[NSCharacterSet
whitespaceAndNewlineCharacterSet]] length] == 0) {