diff --git a/src/api/index.ts b/src/api/index.ts index 5bc8e300..f54787d2 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -9,6 +9,10 @@ export const getChains = createAsyncThunk('appConfig/chains', async () => { }) export async function getMultisigAliases(ownersAddresses: string[]): Promise { - let res = await axios.get(`${getBaseUrl()}/v2/multisigalias/${ownersAddresses.join(',')}`) - return res.data.alias + try { + let res = await axios.get(`${getBaseUrl()}/v2/multisigalias/${ownersAddresses.join(',')}`) + return res.data.alias + } catch (e) { + return [] + } }