Skip to content

Commit

Permalink
chore: delete useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
danpeen committed Dec 12, 2024
1 parent 4d84008 commit 4d89133
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/runtime/src/utils/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,13 @@ async function loadEntryScript({
return entryExports;
})
.catch((e) => {
// const errMsg = getShortErrorMsg(RUNTIME_008, runtimeDescMap, {
// remoteName: name,
// remoteEntryUrl: entry,
// });
assert(
undefined,
getShortErrorMsg(RUNTIME_008, runtimeDescMap, {
remoteName: name,
resourceUrl: entry,
}),
);
// console.error('----loadScript error-----', entry);
// console.error(errMsg);
throw e;
});
}
Expand Down

0 comments on commit 4d89133

Please sign in to comment.