fix(desktop): show server connection failure
parent
a5301e2ab7
commit
e71bc8c0b0
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue