Skip to content

Commit

Permalink
Merge branch 'master' of github.com:systemjs/systemjs into issue-2286
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Dec 15, 2020
2 parents 50813a4 + 0c03f9b commit daee1c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/system-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export function getOrCreateLoad (loader, id, firstParentUrl) {
if (!process.env.SYSTEM_PRODUCTION)
instantiatePromise = instantiatePromise.catch(function (err) {
triggerOnload(loader, load, err, true);
throw err;
});

var linkPromise = instantiatePromise
Expand Down Expand Up @@ -172,6 +173,7 @@ export function getOrCreateLoad (loader, id, firstParentUrl) {
},
!process.env.SYSTEM_PRODUCTION && function (err) {
triggerOnload(loader, load, err, false);
throw err;
}
)
});
Expand Down

0 comments on commit daee1c1

Please sign in to comment.