Merge pull request #30 from FredyC/reducer-error-in-console

reducer exception shown in console
This commit is contained in:
Dan Abramov 2015-07-27 21:21:17 +03:00
commit 9e9d23daf3

View File

@ -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 {