diff --git a/src/renderer/store/TimelineSpace.ts b/src/renderer/store/TimelineSpace.ts index d4afadc1..18b97265 100644 --- a/src/renderer/store/TimelineSpace.ts +++ b/src/renderer/store/TimelineSpace.ts @@ -186,10 +186,14 @@ const actions: ActionTree = { * fetchFilters */ fetchFilters: async ({ commit, state, rootState }): Promise> => { - const client = generator(state.sns, state.account.baseURL, state.account.accessToken, rootState.App.userAgent) - const res = await client.getFilters() - commit(MUTATION_TYPES.UPDATE_FILTERS, res.data) - return res.data + try { + const client = generator(state.sns, state.account.baseURL, state.account.accessToken, rootState.App.userAgent) + const res = await client.getFilters() + commit(MUTATION_TYPES.UPDATE_FILTERS, res.data) + return res.data + } catch { + return [] + } }, /** * fetchInstance