Important Details
How are you running Sentry?
On-Premise
"@sentry/react": "5.29.0",
"@sentry/tracing": "5.29.0",
"@sentry/webpack-plugin": "1.14.0",
"@reduxjs/toolkit": "^1.4.0",
Description
Sentry writes only initial redux state and does not updates on state change.
As result I have only initial redux state in bug report and not latest

My Sentry config:
sentry.ts
exportfunctioncreateSentryEnhancer(): StoreEnhancer<Record<string,unknown>,RootState>{returnSentry.createReduxEnhancer({configureScopeWithState(scope,state: RootState){const{app: { user }}=state;if(user){constdebugUserData=omit(user,['bigPhoto','userID',]);scope.setUser({id: user.userID.toString(),username: user.name,
...debugUserData,});}},});}configureStore.ts with redux-toolkit for store configuring
import{configureStore,getDefaultMiddleware,isPlain}from'@reduxjs/toolkit';constenhancers=[createInjectorsEnhancer({
createReducer,
runSaga,}),createSentryEnhancer(),];conststore=configureStore({reducer: createReducer(),middleware: [...getDefaultMiddleware({serializableCheck: {isSerializable: value=>isPlain(value)||valueinstanceofMap,},}), ...middlewares],devTools: process.env.REACT_APP_DEV_TOOLS&&{shouldHotReload: false,trace: true,latency: 0,maxAge: 200,},
preloadedState,
enhancers,});
Important Details
How are you running Sentry?
On-Premise
"@sentry/react": "5.29.0",
"@sentry/tracing": "5.29.0",
"@sentry/webpack-plugin": "1.14.0",
"@reduxjs/toolkit": "^1.4.0",
Description
Sentry writes only initial redux state and does not updates on state change.

As result I have only initial redux state in bug report and not latest
My Sentry config:
sentry.ts
configureStore.ts with redux-toolkit for store configuring