Offline operation

hi, im looking for information about offline operation
i encounter issue when running imp in offline mode

when the device is offline and encounter an error, the code will stop entirely until connected to wifi or restarted

i know from the state diagram that the imp will enter GET SQUIRREL #2 state.
is there anyway to avoid to stay in this state without connecting to internet or restart the device?

If you want to stay offline and avoid a squirrel reload, then you need to handle squirrel errors in your code by catching any exceptions:

You might also need to consider how you will debug your offline error handling: