fix(desktop): show server connection failure

This commit is contained in:
Adam
2025-12-24 20:11:34 -06:00
committed by Aiden Cline
parent b39cf15833
commit b3ab52fe79

View File

@@ -307,7 +307,10 @@ function createGlobalSync() {
})
async function bootstrap() {
const health = await globalSDK.client.global.health().then((x) => x.data)
const health = await globalSDK.client.global
.health()
.then((x) => x.data)
.catch(() => undefined)
if (!health?.healthy) {
setGlobalStore(
"error",