diff options
Diffstat (limited to 'app/assets/javascripts/ide/stores/actions/project.js')
-rw-r--r-- | app/assets/javascripts/ide/stores/actions/project.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/ide/stores/actions/project.js b/app/assets/javascripts/ide/stores/actions/project.js index d94dccad962..62084892d13 100644 --- a/app/assets/javascripts/ide/stores/actions/project.js +++ b/app/assets/javascripts/ide/stores/actions/project.js @@ -133,9 +133,9 @@ export const loadBranch = ({ dispatch, getters }, { projectId, branchId }) => ref: branch.commit.id, }); }) - .catch(() => { + .catch(err => { dispatch('showBranchNotFoundError', branchId); - return Promise.reject(); + throw err; }); export const openBranch = ({ dispatch, state, getters }, { projectId, branchId, basePath }) => { |