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

Commit

Permalink
[Android] rm bundletype report replace with flag in performance data(…
Browse files Browse the repository at this point in the history
…bundleType) (#2576)
  • Loading branch information
lucky-chen authored and YorkShen committed Jun 19, 2019
1 parent 497e82e commit f95d135
Showing 1 changed file with 7 additions and 7 deletions.
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

0 comments on commit f95d135

Please sign in to comment.