summaryrefslogtreecommitdiffstats
path: root/settings/src/store/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/src/store/index.js')
-rw-r--r--settings/src/store/index.js2
1 files changed, 0 insertions, 2 deletions
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.')+'<br>'+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);
}
};