reducer exception shown in console

This commit is contained in:
FredyC 2015-07-27 20:10:13 +02:00
parent a297a3606a
commit c84b3bdd2c

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 {