mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-03-01 18:00:37 +03:00
Merge branch 'master' of https://github.com/gaearon/redux-devtools
This commit is contained in:
commit
6dcde1f83b
|
@ -67,7 +67,10 @@ 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);
|
if (typeof window === 'object' && typeof window.chrome !== 'undefined') {
|
||||||
|
// Solve the issue with loosing sourceMaps in Chrome
|
||||||
|
setTimeout(() => { throw err; }, 0);
|
||||||
|
} else console.error(err.stack || err);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user