1
1
mirror of https://github.com/reduxjs/redux-devtools.git synced 2025-04-11 12:14:16 +03:00

Show error message, not just a stack trace.

This commit is contained in:
Artem Sapegin 2016-02-04 16:18:01 +01:00
parent 86f522af90
commit 6ab87322e1

View File

@ -77,7 +77,7 @@ function computeNextEntry(reducer, action, state, error) {
// In Chrome, rethrowing provides better source map support
setTimeout(() => { throw err; });
} else {
console.error(err.stack || err);
console.error(err);
}
}