fix(desktop): show server connection failure

thinking-toggle-wip
Adam 2025-12-24 20:11:34 -06:00 committed by Aiden Cline
parent b39cf15833
commit b3ab52fe79
1 changed files with 4 additions and 1 deletions

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",