Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[Android] rm bundletype report replace with flag in performance data… #2576

Merged
merged 1 commit into from
Jun 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1645,13 +1645,13 @@ private void invokeCreateInstance(@NonNull WXSDKInstance instance, Script templa
return;
} else {
//bad case for js bundle with out bundletype header //vue or rax
WXExceptionUtils.commitCriticalExceptionRT(
instance.getInstanceId(),
WXErrorCode.WX_KEY_EXCEPTION_NO_BUNDLE_TYPE,
"invokeCreateInstance",
WXErrorCode.WX_KEY_EXCEPTION_NO_BUNDLE_TYPE.getErrorMsg(),
null
);
//WXExceptionUtils.commitCriticalExceptionRT(
// instance.getInstanceId(),
// WXErrorCode.WX_KEY_EXCEPTION_NO_BUNDLE_TYPE,
// "invokeCreateInstance",
// WXErrorCode.WX_KEY_EXCEPTION_NO_BUNDLE_TYPE.getErrorMsg(),
// null
//);

invokeExecJS(instance.getInstanceId(), null, METHOD_CREATE_INSTANCE, args, false);
instance.getApmForInstance().onStage(WXInstanceApm.KEY_PAGE_STAGES_LOAD_BUNDLE_END);
Expand Down