Skip to content

Commit 2866033

Browse files
committed
feat: failing loading members shouldn't break showing project list
In case Member Service is down, we should still be able to load the project list page.
1 parent 1a2f044 commit 2866033

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/projects/actions/loadProjects.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ const getProjectsWithMembers = (dispatch, getState, criteria, pageNum) => {
6464
resolve(true)
6565
return dispatch(loadMembers(userIds))
6666
.then(() => resolve(true))
67-
.catch(err => reject(err))
67+
// if some errors happens during members loading this should not break project list loading so we catch error here
68+
.catch(() => {})
6869
})
6970
.catch(err => reject(err))
7071
})

0 commit comments

Comments
 (0)