mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
Reword the comment
This commit is contained in:
parent
6dcde1f83b
commit
ccbccd6810
|
@ -68,9 +68,11 @@ function computeNextEntry(reducer, action, state, error) {
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
nextError = err.toString();
|
nextError = err.toString();
|
||||||
if (typeof window === 'object' && typeof window.chrome !== 'undefined') {
|
if (typeof window === 'object' && typeof window.chrome !== 'undefined') {
|
||||||
// Solve the issue with loosing sourceMaps in Chrome
|
// In Chrome, rethrowing provides better source map support
|
||||||
setTimeout(() => { throw err; }, 0);
|
setTimeout(() => { throw err; });
|
||||||
} else console.error(err.stack || err);
|
} else {
|
||||||
|
console.error(err.stack || err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user