Skip to content

Commit

Permalink
Updated sentry to 7.61.0 (podkrepi-bg#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyosifov authored Aug 2, 2023
1 parent 7eb239f commit b9ff326
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 182 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@paypal/react-paypal-js": "^7.8.1",
"@ramonak/react-progress-bar": "^5.0.3",
"@react-pdf/renderer": "^3.1.3",
"@sentry/nextjs": "7.21.1",
"@sentry/nextjs": "^7.61.0",
"@stripe/react-stripe-js": "^1.16.1",
"@stripe/stripe-js": "^1.46.0",
"@tanstack/react-query": "^4.16.1",
Expand Down
15 changes: 15 additions & 0 deletions sentry.edge.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// This file configures the initialization of Sentry on the server.
// The config you add here will be used whenever the server handles a request.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/

import * as Sentry from '@sentry/nextjs'

const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN

Sentry.init({
dsn: SENTRY_DSN || 'https://[email protected]/5657969',
enabled: process.env.NODE_ENV !== 'development',
// Note: if you want to override the automatic release value, do not set a
// `release` value here - use the environment variable `SENTRY_RELEASE`, so
// that it will also get attached to your source maps
})
Loading

0 comments on commit b9ff326

Please sign in to comment.