mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Merge pull request #1874 from kchadha/prevent-installing-broken-target
Reject errors from loadCostume instead of logging
This commit is contained in:
commit
c449f14280
1 changed files with 1 additions and 4 deletions
|
@ -285,10 +285,7 @@ const loadCostume = function (md5ext, costume, runtime, optVersion) {
|
||||||
costume.textLayerAsset = assetArray[1];
|
costume.textLayerAsset = assetArray[1];
|
||||||
}
|
}
|
||||||
return loadCostumeFromAsset(costume, runtime, optVersion);
|
return loadCostumeFromAsset(costume, runtime, optVersion);
|
||||||
})
|
});
|
||||||
.catch(e => {
|
|
||||||
log.error(e);
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|
Loading…
Reference in a new issue