-
Notifications
You must be signed in to change notification settings - Fork 947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(core): support onerror for js #3471
Conversation
Hi, @etkmao. Thanks for your PR! 👏 🏷️ You can leave a comment in this PR with |
1d72a4b
to
887fd10
Compare
887fd10
to
357c7d3
Compare
8934597
8934597
to
c23830f
Compare
modules/vfs/ios/VFSUriLoader.mm
Outdated
@@ -146,6 +146,10 @@ | |||
auto endPoint = footstone::TimePoint::SystemNow(); | |||
string_view uri(NSStringToU16StringView([[response URL] absoluteString])); | |||
DoRequestTimePerformanceCallback(uri, startPoint, endPoint); | |||
if (error.code != 0) { | |||
string_view msg([error.localizedDescription UTF8String]?:""); | |||
DoRequestErrorCallback(uri, static_cast<int32_t>(error.code), msg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
代码缩进有点小问题
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
f642ca3
to
300f114
Compare
8b70d7d
to
47ac652
Compare
d9efa37
🎉 It seems that this pull request has been approved by all required reviewers. But it has more than one normal commit, I will notify admin team member to merge it manually, please wait a moment.
|
* fix(core): support onerror for js * fix(android): add res load reslut to record jni * fix(core): support onerror for js --------- Co-authored-by: etkmao <[email protected]> Co-authored-by: maxli <[email protected]>
Before submitting a new pull request, please make sure: