Am I the only one that sometimes gets a massive flood of errors on the Espruino console, for instance if I accidentally type:
setInterval("$%£^&*()",10);
I always used to detect if there was an error while executing the interval and remove it, but I believe I took that out because if some error happened occasionally then the whole device would just stop working after the first error - when it was actually a lot better to just soldier on.
Is it something you think I should try and stop? Any idea how? I guess I might be able to detect if there were maybe 4 errors in the last second, and if so and another error happens I'd then remove that interval/watch.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Am I the only one that sometimes gets a massive flood of errors on the Espruino console, for instance if I accidentally type:
I always used to detect if there was an error while executing the interval and remove it, but I believe I took that out because if some error happened occasionally then the whole device would just stop working after the first error - when it was actually a lot better to just soldier on.
Is it something you think I should try and stop? Any idea how? I guess I might be able to detect if there were maybe 4 errors in the last second, and if so and another error happens I'd then remove that interval/watch.