Open agurtovoy opened 5 years ago
Without an example project it's unclear to me how to build a fully functional bot.
I looked in the source code of your function. The actual error was an extra newline that was making the lambda runtime throw an error. I removed the code that caused the offending newline.
I somehow managed to crash it again:
The message created by blockly contains \n newlines. Instead of leaving these characters as \n newlines in the file, they're being interpreted as literal newlines that are being placed in the template. Throwing random newlines into a javascript file is what is causing the error. I've replacing the newlines with commas.
The version that uses commas instead of newlines has been deployed. Please re-test.
For context, this was a different but related issue from the other day.