diff --git a/settings/src/store/index.js b/settings/src/store/index.js index 0fdcbe25cec..4332ece33e4 100644 --- a/settings/src/store/index.js +++ b/settings/src/store/index.js @@ -12,9 +12,7 @@ const mutations = { API_FAILURE(state, error) { let message = error.error.response.data.ocs.meta.message; OC.Notification.showHtml(t('settings','An error occured during the request. Unable to proceed.')+'
'+message, {timeout: 7}); - // throw to raise exception of the promise and allow a `.then` in the Vue methods console.log(state, error); - throw new Error(error); } };