Getting a restart reason for the agent

This may have been brought up before. Has Electric Imp given any thought to allowing agent code to retrieve the reason for the last agent restart? eg migration, new code, memory error, etc…

No, but that’s a possibility. Will file a feature request.

Thanks. Otherwise I have to consult the device logs for production devices. Would be much easier if I simply logged it to our own system upon startup.