diff --git a/apps/client/src/common/components/error-boundary/ErrorBoundary.jsx b/apps/client/src/common/components/error-boundary/ErrorBoundary.jsx index 317c03d19..6eefd207c 100644 --- a/apps/client/src/common/components/error-boundary/ErrorBoundary.jsx +++ b/apps/client/src/common/components/error-boundary/ErrorBoundary.jsx @@ -28,9 +28,11 @@ class ErrorBoundary extends React.Component { }); Sentry.withScope((scope) => { - scope.setExtras('error', error); - scope.setExtras('store', runtimeStore.getState()); - scope.setExtras('hasSocket', { hasConnected, shouldReconnect, reconnectAttempts }); + scope.setExtras({ + error, + store: runtimeStore.getState(), + hasSocket: { hasConnected, shouldReconnect, reconnectAttempts }, + }); const eventId = Sentry.captureException(error); this.setState({ eventId, info }); });