Skip to content

Commit 15361ae

Browse files
author
FalkWolsky
committed
Fixing throwing error at IntlMessageFormat
1 parent a5e0580 commit 15361ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/packages/lowcoder-core/lib/index.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11463,7 +11463,8 @@ var IntlMessageFormat$1 = /** @class */ (function () {
1146311463
this.ast = message;
1146411464
}
1146511465
if (!Array.isArray(this.ast)) {
11466-
throw new TypeError('A message must be provided as a String or AST.');
11466+
// throw new TypeError('A message must be provided as a String or AST.');
11467+
console.log('Translator: A message must be provided as a String or AST.', this.ast);
1146711468
}
1146811469
// Creates a new object with the specified `formats` merged with the default
1146911470
// formats.

0 commit comments

Comments
 (0)