Closed adautopaulazup closed 3 years ago
Good catch. All panics are considered bugs. Rhai is designed to not bring down the host system.
A fix has been pushed to the latest master. Please pull from here to check if it is now ok. Thanks!
I ran a few tests here and it's fixed. Thanks!
Thanks for catching this bug!
Hi Guys,
First of all, I wanna say thank you for the incredible work, Rhai is amazing.
Assume a script with the following syntax error:
Running this will lead the application to panic...even the playground could not recover after executing such a script, you have to reload the page to run any other script there. So, my question is: Why no return an EvalAltResult instead?