added additional routing packet error handler

This commit is contained in:
Dan Ditomaso
2025-03-18 19:44:09 -04:00
parent 3f8d3389d5
commit ad366e6bab
+5
View File
@@ -117,6 +117,11 @@ export const subscribeAll = (
device.setNodeError(routingPacket.from, Protobuf.Mesh.Routing_Error[routingPacket?.data?.variant?.value]);
device.setDialogOpen("refreshKeys", true);
break;
case Protobuf.Mesh.Routing_Error.PKI_UNKNOWN_PUBKEY:
console.error(`Routing Error: ${routingPacket.data.variant.value}`);
device.setNodeError(routingPacket.from, Protobuf.Mesh.Routing_Error[routingPacket?.data?.variant?.value]);
device.setDialogOpen("refreshKeys", true);
break;
default: {
break;
}