fix: log error and sendAuthUpdate if we fail to load the portals

This commit is contained in:
Derrick Hammer 2023-07-18 15:52:11 -04:00
parent 511dd126e0
commit 7d9c61e795
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ export async function loadKernel() {
if (portalLoadErr) {
let err = addContextToErr(portalLoadErr, "unable to init portals");
setKernelLoaded(err);
logErr(err);
sendAuthUpdate();
return;
}