Merge pull request #1874 from kchadha/prevent-installing-broken-target

Reject errors from loadCostume instead of logging
This commit is contained in:
Karishma Chadha 2018-12-26 16:32:20 -05:00 committed by GitHub
commit c449f14280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -285,9 +285,6 @@ 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);
}); });
}; };