Emit dependency errors to show real loading result (#2935)

This commit is contained in:
pandamicro
2018-07-02 16:34:25 +08:00
committed by GitHub
parent 87545510d2
commit 2b4b5f390a
+1 -1
View File
@@ -173,7 +173,7 @@ function loadDepends (pipeline, item, asset, depends, callback) {
if (CC_EDITOR && missingAssetReporter) {
missingAssetReporter.reportByOwner();
}
callback(null, asset);
callback(errors, asset);
});
}