@next-core/brick-kit 2.194.2 → 2.195.0

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.
@@ -12028,6 +12028,9 @@
12028
12028
  // Create the page tracker before page load.
12029
12029
  // And the API Analyzer maybe disabled.
12030
12030
  var tracePageEnd = (_apiAnalyzer$getInsta = easyopsAnalytics.apiAnalyzer.getInstance()) === null || _apiAnalyzer$getInsta === void 0 ? void 0 : _apiAnalyzer$getInsta.tracePage();
12031
+ easyopsAnalytics.SkywalkingAnalysis.setPerformance({
12032
+ pagePath: "".concat(location.pathname).concat(location.search)
12033
+ });
12031
12034
  var locationContext = _this3.locationContext = new LocationContext(_this3.kernel, location, renderId);
12032
12035
  if (window.DEVELOPER_PREVIEW) {
12033
12036
  return;
@@ -12586,12 +12589,9 @@
12586
12589
  error
12587
12590
  };
12588
12591
  }
12589
-
12590
- /* componentDidCatch(error, info) {
12591
- // You can also log the error to an error reporting service
12592
- logErrorToMyService(error, info);
12593
- } */
12594
-
12592
+ componentDidCatch(error) {
12593
+ easyopsAnalytics.SkywalkingAnalysis.reportFrameErrors(error);
12594
+ }
12595
12595
  render() {
12596
12596
  if (this.state.error) {
12597
12597
  // You can render any custom fallback UI