mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 01:26:48 +03:00
reducer exception shown in console
This commit is contained in:
parent
a297a3606a
commit
c84b3bdd2c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user