@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 +3 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -2
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -4396,8 +4396,9 @@ class ResourceManager {
|
|
|
4396
4396
|
manager,
|
|
4397
4397
|
onProgress,
|
|
4398
4398
|
onLoad: resolve,
|
|
4399
|
-
onError: (
|
|
4400
|
-
console.error(`${url} not exist`,
|
|
4399
|
+
onError: (err)=>{
|
|
4400
|
+
console.error(`${url} not exist`, err);
|
|
4401
|
+
reject(err);
|
|
4401
4402
|
}
|
|
4402
4403
|
});
|
|
4403
4404
|
} else {
|