@xviewer.js/core 1.0.0-alpha.59 → 1.0.0-alpha.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -4398,8 +4398,9 @@ class ResourceManager {
4398
4398
  manager,
4399
4399
  onProgress,
4400
4400
  onLoad: resolve,
4401
- onError: (e)=>{
4402
- console.error(`${url} not exist`, e);
4401
+ onError: (err)=>{
4402
+ console.error(`${url} not exist`, err);
4403
+ reject(err);
4403
4404
  }
4404
4405
  });
4405
4406
  } else {