mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-03-25 12:04:13 +03:00
Show error message, not just a stack trace.
This commit is contained in:
parent
86f522af90
commit
6ab87322e1
|
@ -77,7 +77,7 @@ function computeNextEntry(reducer, action, state, error) {
|
||||||
// In Chrome, rethrowing provides better source map support
|
// In Chrome, rethrowing provides better source map support
|
||||||
setTimeout(() => { throw err; });
|
setTimeout(() => { throw err; });
|
||||||
} else {
|
} else {
|
||||||
console.error(err.stack || err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user