From ad366e6bab402e6804044fa32a0f9ba6bea1a108 Mon Sep 17 00:00:00 2001 From: Dan Ditomaso Date: Tue, 18 Mar 2025 19:44:09 -0400 Subject: [PATCH] added additional routing packet error handler --- src/core/subscriptions.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/subscriptions.ts b/src/core/subscriptions.ts index b3f2b50b..0ad39019 100644 --- a/src/core/subscriptions.ts +++ b/src/core/subscriptions.ts @@ -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; }