mmhglobal-dynamicform 2.41.0 → 2.41.1

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.
@@ -919,8 +919,10 @@ class MainService {
919
919
  console.log(event);
920
920
  }
921
921
  handleNavigationError(event) {
922
- const duration = performance.now() - this.navigationStartTime;
923
- this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
922
+ if (!this.environment.skipAppmon) {
923
+ const duration = performance.now() - this.navigationStartTime;
924
+ this.updateAppMonPerformance(TriggerFromType.navigateError, this.previousUrl, false, duration).subscribe();
925
+ }
924
926
  console.log(event.error);
925
927
  this.removeLastNavigateRecord();
926
928
  }