Commit 02f15810 authored by Janis Streib's avatar Janis Streib

FIX: possible missing index on ta test

parent 1ea08d87
Pipeline #119408 passed with stages
in 9 minutes and 31 seconds
......@@ -201,8 +201,8 @@ async function init() {
window.console.debug(e.response)
state.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 {
this.commit('setTransactionBusy', false)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment