Skip to content

Commit bd4eaa1

Browse files
committed
error - updating text and call
1 parent 82503a3 commit bd4eaa1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/devextreme/js/__internal/core/m_errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default errorUtils({
6464

6565
E0122: 'AIIntegration: The sendRequest method is missing.',
6666

67-
E0123: 'Prototype pollution attempt detected: the path contains an unsafe fragment \'{0}\'',
67+
E0123: '{0} received an unsafe expression: \'{1}\'',
6868

6969
W0000: '\'{0}\' is deprecated in {1}. {2}',
7070

packages/devextreme/js/__internal/core/utils/m_data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const compileGetter = function (expr) {
7272

7373
if (unsafeFragment !== undefined) {
7474
return function () {
75-
errors.log('E0123', unsafeFragment);
75+
errors.log('E0123', 'compileGetter', unsafeFragment);
7676
// eslint-disable-next-line no-useless-return
7777
return;
7878
};
@@ -181,7 +181,7 @@ export const compileSetter = function (expr) {
181181

182182
if (unsafeFragment !== undefined) {
183183
return function () {
184-
errors.log('E0123', unsafeFragment);
184+
errors.log('E0123', 'compileSetter', unsafeFragment);
185185
// eslint-disable-next-line no-useless-return
186186
return;
187187
};

0 commit comments

Comments
 (0)