mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +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 {
|
||||
nextState = reducer(state, action);
|
||||
} catch (err) {
|
||||
nextError = err.toString();
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
nextError = (err as object).toString();
|
||||
if (isChrome) {
|
||||
// In Chrome, rethrowing provides better source map support
|
||||
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