Skip to content

Commit 9072848

Browse files
committed
vuetify : fix error handling on simple error
1 parent 4fe510a commit 9072848

File tree

1 file changed

+2
-0
lines changed
  • templates/vue-common/store/modules

1 file changed

+2
-0
lines changed

templates/vue-common/store/modules/crud.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ const handleError = (commit, e) => {
3131

3232
// eslint-disable-next-line
3333
commit(ACTIONS.SET_ERROR, e.message);
34+
35+
return Promise.reject(e);
3436
};
3537

3638
export const ACTIONS = {

0 commit comments

Comments
 (0)