Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix error when we can't fetch heartbeats

Acho Arnold99640fd132bb
diff --git a/web/store/index.ts b/web/store/index.ts
index d64959bc..097f1cd6 100644
--- a/web/store/index.ts
+++ b/web/store/index.ts
@@ -305,8 +305,9 @@ export const actions = {
},
})
- await context.dispatch('getHeartbeat')
- context.commit('setThreads', response.data.data)
+ // eslint-disable-next-line no-console
+ context.dispatch('getHeartbeat').catch(console.error)
+ await context.commit('setThreads', response.data.data)
},
async loadBillingUsage(context: ActionContext<State, State>) {