Skip to content

Commit

Permalink
Merge pull request #834 from ETCDEVTeam/failed-to-fetch-ez-soln
Browse files Browse the repository at this point in the history
Problem: failed to fetch error happens disruptively
  • Loading branch information
shanejonas committed Nov 12, 2018
2 parents 2cbadd9 + 17a7dc1 commit 30a67cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/store/middleware/promise-catch-all.js
Expand Up @@ -13,6 +13,8 @@ export default (store) => {
// https://github.com/github/fetch/issues/201#issuecomment-308213104
const stack = `${e.stack} \n While processing action: \n ${action.toString()}`;
e.stack = stack;
console.error(e);
return;
}
store.dispatch(screen.actions.showError(e));
});
Expand Down

0 comments on commit 30a67cb

Please sign in to comment.