@inweb/viewer-visualize 25.8.12 → 25.8.13

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.
@@ -4752,24 +4752,24 @@ class VsfXPartialLoader extends BaseLoader {
4752
4752
  type: "geometrystart",
4753
4753
  model: this.model
4754
4754
  });
4755
- await this.model.downloadResource(this.model.database, chunkLoadHandler, abortController.signal).catch((error => {
4756
- if (!servicePartAborted) throw error;
4755
+ await this.model.downloadResource(this.model.database, chunkLoadHandler, abortController.signal).catch((e => {
4756
+ if (!servicePartAborted) throw e;
4757
4757
  }));
4758
4758
  this.viewer.emitEvent({
4759
4759
  type: "geometryend",
4760
4760
  model: this.model
4761
4761
  });
4762
- } catch (error) {
4762
+ } catch (e) {
4763
4763
  if (pendingRequestsTimerId) {
4764
4764
  window.clearTimeout(pendingRequestsTimerId);
4765
4765
  pendingRequestsTimerId = 0;
4766
4766
  }
4767
4767
  this.viewer.emitEvent({
4768
4768
  type: "geometryerror",
4769
- data: error,
4769
+ data: e,
4770
4770
  model: this.model
4771
4771
  });
4772
- throw error;
4772
+ throw e;
4773
4773
  }
4774
4774
  }
4775
4775
  }