-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Describe the bug:
I am running Bruce Firmware 1.14. I have a few .js files stored on an SD card. When I select the JS Interpreter option from the main menu and attempt to run any of the .js files, it crashes back to the startup screen. No error message is given.
However, when I access the Files option in the main menu, locate the .js file and select the JS Script Run option, the .js file runs fine.
Steps To Reproduce:
- Save .js file somewhere on SD card.
- Click the
JS Interpreteroption on the main menu. - Navigate
Load....->SD Card-> .js file - Click on the .js file you wish to run, the software will crash back to the main menu.
- Navigate to the
Filesoption in the main menu and locate the file. Run it using theJS Script Runoption and it should work fine.
- Device used: LilyGo T-Embed CC1101 Plus
Expected behavior:
JS files ran from the JS Interpreter run normally and do not crash.
Actual behavior:
JS files ran from the JS Interpreter crash and revert back to Bruce main menu.
Additional context / logs:
Unsure if this functionality currently exists, but running a faulty .js file from Files will show you which line of code is causing an error. It would be helpful for this to happen in the JS Interpreter as well.