@sap-ux/preview-middleware 0.15.4 → 0.15.6

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.
@@ -58,7 +58,7 @@ sap.ui.define([
58
58
  name = control.getMetadata().getName();
59
59
  }
60
60
  const error = getError(exception);
61
- const modifiedMessage = modifyRTAErrorMessage(error.message, id, name);
61
+ const modifiedMessage = modifyRTAErrorMessage(error.toString(), id, name);
62
62
  const errorMessage = modifiedMessage || `RTA Exception applying expression "${ action.payload.value }"`;
63
63
  const propertyChangeFailedAction = propertyChangeFailed({
64
64
  ...action.payload,
@@ -127,7 +127,7 @@ export class ChangeService {
127
127
 
128
128
  const error = getError(exception);
129
129
  // eslint-disable-next-line @typescript-eslint/no-unsafe-call
130
- const modifiedMessage = modifyRTAErrorMessage(error.message, id, name);
130
+ const modifiedMessage = modifyRTAErrorMessage(error.toString(), id, name);
131
131
  const errorMessage =
132
132
  modifiedMessage || `RTA Exception applying expression "${action.payload.value}"`;
133
133
  const propertyChangeFailedAction = propertyChangeFailed({ ...action.payload, errorMessage });
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
11
11
  },
12
- "version": "0.15.4",
12
+ "version": "0.15.6",
13
13
  "license": "Apache-2.0",
14
14
  "author": "@SAP/ux-tools-team",
15
15
  "main": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "mem-fs-editor": "9.4.0",
28
28
  "@sap-ux/logger": "0.5.1",
29
29
  "@sap-ux/btp-utils": "0.14.4",
30
- "@sap-ux/adp-tooling": "0.11.11",
30
+ "@sap-ux/adp-tooling": "0.11.12",
31
31
  "@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.4.23",
32
32
  "@sap-ux/project-access": "1.22.3"
33
33
  },
@@ -45,7 +45,7 @@
45
45
  "supertest": "6.3.3",
46
46
  "@sap-ux-private/playwright": "0.0.3",
47
47
  "dotenv": "16.3.1",
48
- "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.9.16",
48
+ "@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.9.17",
49
49
  "@sap-ux/axios-extension": "1.14.4",
50
50
  "@sap-ux/store": "0.6.0",
51
51
  "@sap-ux/ui5-info": "0.5.0",