Wouldn't the same trace information be in the error callback?
Unfortunately not - you just get a string describing the error as a parameter, but you have no idea where in the program it came from.
Understood about the try..catch though - it's annoying having to do it.
@Gordon started
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.
Unfortunately not - you just get a string describing the error as a parameter, but you have no idea where in the program it came from.
Understood about the try..catch though - it's annoying having to do it.