mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Fix instrument
This commit is contained in:
parent
155a8efe71
commit
af24dba5d8
|
@ -274,7 +274,8 @@ function computeWithTryCatch<S, A extends Action<unknown>>(
|
||||||
try {
|
try {
|
||||||
nextState = reducer(state, action);
|
nextState = reducer(state, action);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
nextError = err.toString();
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||||
|
nextError = (err as object).toString();
|
||||||
if (isChrome) {
|
if (isChrome) {
|
||||||
// In Chrome, rethrowing provides better source map support
|
// In Chrome, rethrowing provides better source map support
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
1
packages/redux-devtools-ui/.gitignore
vendored
Normal file
1
packages/redux-devtools-ui/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
storybook-static
|
Loading…
Reference in New Issue
Block a user