How can i catch an fs.readFileSync error if a requested file is not available on sd-card? Right now i get the same result for an empty file and if the file is not available.
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.
How can i catch an fs.readFileSync error if a requested file is not available on sd-card? Right now i get the same result for an empty file and if the file is not available.