-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I have an nx monorepo project with a typescript react app inside it. When i use @rollbar/react within this project i am seeing errors for process is not defined
. These errors only appear when i have captureUncaught: true
and/or captureUnhandledRejections: true
in my Rollbar config.
Pictures of the error
Rollbar config
const rollbarConfig: Rollbar.Configuration = {
enabled: process.env.NODE_ENV !== 'development',
accessToken: 'REDACTED',
environment: getRollbarEnvironment(),
captureUncaught: true,
captureUnhandledRejections: true,
payload: {
context: 'root',
client: {
javascript: {
source_map_enabled: true,
},
},
},
};
Environment:
OSX
node: 18.12.1
rollbar: 2.26.1
@rollbar/react: 0.11.1
react: 18.2.0
nx: 15.5.3
Metadata
Metadata
Assignees
Labels
No labels