Skip to content

Commit

Permalink
rollbar: fix environment
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz committed Dec 8, 2024
1 parent b69762b commit 418af29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/rollbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const rollbar = new Rollbar({
accessToken: process.env.ROLLBAR_SERVER_TOKEN,
captureUncaught: true,
captureUnhandledRejections: true,
environment: process.env.NODE_ENV,
environment: process.env.VERCEL_ENV,
captureIp: false,
transform: (payload: any) => {
payload.custom = undefined;
Expand Down

0 comments on commit 418af29

Please sign in to comment.