From 7d9c61e79546fd589889088e2ec9ae990d4c7b6e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 18 Jul 2023 15:52:11 -0400 Subject: [PATCH] fix: log error and sendAuthUpdate if we fail to load the portals --- src/main/bootloader/kernel.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/bootloader/kernel.ts b/src/main/bootloader/kernel.ts index 504dceb..da51986 100644 --- a/src/main/bootloader/kernel.ts +++ b/src/main/bootloader/kernel.ts @@ -40,6 +40,8 @@ export async function loadKernel() { if (portalLoadErr) { let err = addContextToErr(portalLoadErr, "unable to init portals"); setKernelLoaded(err); + logErr(err); + sendAuthUpdate(); return; }