Skip to content

Commit

Permalink
Merge pull request #30 from FredyC/reducer-error-in-console
Browse files Browse the repository at this point in the history
reducer exception shown in console
  • Loading branch information
gaearon committed Jul 27, 2015
2 parents a297a36 + c84b3bd commit 9e9d23d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function computeNextEntry(reducer, action, state, error) {
nextState = reducer(state, action);
} catch (err) {
nextError = err.toString();
console.error(err.stack || err);
}

return {
Expand Down

0 comments on commit 9e9d23d

Please # to comment.