mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -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,9 +285,6 @@ const loadCostume = function (md5ext, costume, runtime, optVersion) {
|
|||
costume.textLayerAsset = assetArray[1];
|
||||
}
|
||||
return loadCostumeFromAsset(costume, runtime, optVersion);
|
||||
})
|
||||
.catch(e => {
|
||||
log.error(e);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue