diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-22 10:33:48 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-05-22 10:33:48 +0200 |
commit | 760b01e8dbad054919fe766112b52d0b9cfb2d32 (patch) | |
tree | 5aad99ba0f5d47b97a24533114a3ecbdd1dc7b77 | |
parent | 16af12e0a045c6bf19cbd7ba8a012e4145065c29 (diff) | |
download | nextcloud-server-760b01e8dbad054919fe766112b52d0b9cfb2d32.tar.gz nextcloud-server-760b01e8dbad054919fe766112b52d0b9cfb2d32.zip |
Fix api error
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | settings/src/store/index.js | 2 |
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); } }; |