mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-24 18:43:54 +03:00
Merge pull request #30 from FredyC/reducer-error-in-console
reducer exception shown in console
This commit is contained in:
commit
9e9d23daf3
|
@ -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