sap-ux-sap-systems-ext 0.3.6 → 0.3.7

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/extension.js CHANGED
@@ -163697,7 +163697,7 @@ var i18n_en_default = {
163697
163697
  yes: "Yes",
163698
163698
  no: "No",
163699
163699
  delete: "Delete [{{- system}}]? Your Fiori application may not run locally anymore.",
163700
- overwrite: "A connection with the same name [{{- system}}] already exists. Do you want to overwrite it?"
163700
+ overwrite: "A connection [{{- system}}] with the same URL and Client already exists. Do you want to overwrite it?"
163701
163701
  },
163702
163702
  info: {
163703
163703
  numServices: "This SAP System [{{- system}}] returned {{v2}} OData V2 and {{v4}} OData V4 services.",
@@ -163739,7 +163739,7 @@ var i18n_en_default = {
163739
163739
  gaPromptSubText: "To fix this issue, follow Guided Answers steps."
163740
163740
  },
163741
163741
  launchAppGen: "Failed to launch the SAP Fiori application generator for [{{- systemName}}].",
163742
- catalogRequest: "The V{{version}} request failed with error: {{error}}.",
163742
+ catalogRequest: "The V{{version}} request failed with error: {{- error}}.",
163743
163743
  guidedAnswersCmd: "Error executing command to open the Guided Answers extension: {{- error}}",
163744
163744
  viewConnectionDetails: "An error occurred when executing the command to view the connection details.",
163745
163745
  noFileSelected: "No file selected for import.",
@@ -163840,7 +163840,7 @@ function shouldStoreSystemInfo(system) {
163840
163840
  var import_telemetry = __toESM(require_dist15());
163841
163841
 
163842
163842
  // package.json
163843
- var version = "0.3.6";
163843
+ var version = "0.3.7";
163844
163844
 
163845
163845
  // src/utils/telemetryHelper.ts
163846
163846
  var import_feature_toggle = __toESM(require_dist16());
@@ -164661,11 +164661,18 @@ function logCatalogError(version2, error) {
164661
164661
  logAxiosError(error);
164662
164662
  }
164663
164663
  function logAxiosError(error) {
164664
+ const safeStringify = (obj) => {
164665
+ try {
164666
+ return JSON.stringify(obj, null, 2);
164667
+ } catch {
164668
+ return String(obj);
164669
+ }
164670
+ };
164664
164671
  if (error.response?.data) {
164665
- SystemsLogger.logger.debug(JSON.stringify(error.response.data, null, 2));
164672
+ SystemsLogger.logger.debug(safeStringify(error.response.data));
164666
164673
  }
164667
164674
  if (error.cause) {
164668
- SystemsLogger.logger.debug(JSON.stringify(error.cause, null, 2));
164675
+ SystemsLogger.logger.debug(safeStringify(error.cause));
164669
164676
  }
164670
164677
  }
164671
164678
  function logServiceSummary(systemName, catalog) {