mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-25 19:13:56 +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);
|
nextState = reducer(state, action);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
nextError = err.toString();
|
nextError = err.toString();
|
||||||
|
console.error(err.stack || err);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user