Are errors thrown by the fs library catchable? #4461
Unanswered
espruino-discuss
asked this question in
Pico / Wifi / Original Espruino
Replies: 1 comment
-
Posted at 2017-05-10 by @gfwilliams That's a really good point - no, they're not. I've just filed a bug for it, and I'll try and get it fixed for the next release: espruino/Espruino#1164 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-05-10 by dave_irvine
I've got the following code running, deliberately without having an SD card in the slot, but the catch statement never seems to execute. Am I being stupid?
I see
ERROR: Unable to mount media : NOT_READY
on the console but notcaught an error
. If I remove all myconsole.log
, I still getERROR: Unable to mount media : NOT_READY
so I'm assuming it is being logged higher up the stack?Beta Was this translation helpful? Give feedback.
All reactions