fix: logger is not defined error in transformStringToFunction

This commit is contained in:
liujuping 2023-08-21 15:00:57 +08:00 committed by 林熠
parent 5a4e43a7d7
commit b4c20b181f

View File

@ -26,7 +26,7 @@ function transformStringToFunction(str: string) {
try {
return (${str}).apply(self, arguments);
} catch(e) {
logger.warn('call function which parsed by lowcode failed: ', e);
console.warn('call function which parsed by lowcode failed: ', e);
return e.message;
}
};