app.tell(''). i.e. sending an empty string by mistake
causes
Unhandled Rejection at: Promise Promise {
Error: Invalid output text:
at Function.toSSML (/Users/dave/Documents/Projects/Jovo Projects/Recipes/node_modules/jovo-framework/lib/platforms/speechBuilder.js:130:19)
at Jovo.tell (/Users/dave/Documents/Projects/Jovo Projects/Recipes/node_modules/jovo-framework/lib/jovo.js:950:27)
Is there any way to gracefully catch this and not crash the server? or should this always be part of my code checking?
I realise I shouldn't be doing this, but
app.tell(''). i.e. sending an empty string by mistake
causes
Unhandled Rejection at: Promise Promise {