Add an extra catch as workaround for possible cause of ARM crash.

This commit is contained in:
Adam Ierymenko 2019-08-30 17:47:13 -07:00
parent 4281b6b448
commit a6dff8ff2f
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -113,6 +113,9 @@ bool IncomingPacket::tryDecode(const RuntimeEnvironment *RR,void *tPtr)
RR->sw->requestWhois(tPtr,RR->node->now(),sourceAddress);
return false;
}
} catch (int ztExcCode) {
RR->t->incomingPacketInvalid(tPtr,_path,packetId(),sourceAddress,hops(),verb(),"unexpected exception in tryDecode()");
return true;
} catch ( ... ) {
RR->t->incomingPacketInvalid(tPtr,_path,packetId(),sourceAddress,hops(),verb(),"unexpected exception in tryDecode()");
return true;