diff --git a/frontend/src/main.js b/frontend/src/main.js index 34724846552c63c2f9b1659692850bf240272b5b..482d9a67e5f0bafd9cd8ccb8b9fa311560814d67 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -236,8 +236,8 @@ async function init() { window.console.debug(e.response) commit('set_transaction_result', { type: 'error', - error: e.response.data.exception, - uuid: state.ta_list[APIUtil.getAPIErrorIndexFromDBException(e.response.data.exception)].uuid + error: 'exception' in e.response.data ? e.response.data.exception : e.response.data, + uuid: 'exception' in e.response.data ? state.ta_list[APIUtil.getAPIErrorIndexFromDBException(e.response.data.exception)].uuid : null }) } finally { commit('setTransactionBusy', false)