Q: Can anyone advise me on how I can catch this error--or is there a more general way to catch errors that happen internally in the Espruino modules 🙂?
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.
Hi 👋,
I'm getting this error from time to time when using the "SX127x" module in a couple of projects (custom HW, and ESP32).
I'm not so concerned with why it fails right now (probably bad SPI communication), but I'd like to catch it so I can handle it properly.
I've tried the code below, but I still get
Uncatched Error: ...
in the WEB IDE.Q: Can anyone advise me on how I can catch this error--or is there a more general way to catch errors that happen internally in the Espruino modules 🙂?