Fix instrument

This commit is contained in:
Nathan Bierema 2021-10-04 21:50:46 -04:00
parent 155a8efe71
commit af24dba5d8
2 changed files with 3 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1 @@
storybook-static