-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from awell-health/AST-3970-sentry-error-fix
(fix) AST-3970: Fix sentry initialisation
- Loading branch information
Showing
4 changed files
with
7 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
NEXT_PUBLIC_URL_ORCHESTRATION_API_WS=wss://api.development.awellhealth.com/orchestration/subscriptions | ||
NEXT_PUBLIC_URL_ORCHESTRATION_API=https://api.development.awellhealth.com/orchestration/graphql | ||
NEXT_PUBLIC_URL_ORCHESTRATION_API=https://api.development.awellhealth.com/orchestration/graphql | ||
NEXT_PUBLIC_SENTRY_DSN=https://[email protected]/6637498 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,10 @@ 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]/6637498', | ||
dsn: SENTRY_DSN, | ||
// Adjust this value in production, or use tracesSampler for greater control | ||
// TODO in future use tracesSampler | ||
tracesSampleRate: 0.1, | ||
tracesSampleRate: 0.5, | ||
// ... | ||
// Note: if you want to override the automatic release value, do not set a | ||
// `release` value here - use the environment variable `SENTRY_RELEASE`, so | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,10 @@ 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]/6637498', | ||
dsn: SENTRY_DSN, | ||
// Adjust this value in production, or use tracesSampler for greater control | ||
// TODO use tracesSampler | ||
tracesSampleRate: 0.1, | ||
tracesSampleRate: 0.5, | ||
// ... | ||
// Note: if you want to override the automatic release value, do not set a | ||
// `release` value here - use the environment variable `SENTRY_RELEASE`, so | ||
|
d66d9dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
hosted-pages – ./
hosted-pages-development.vercel.app
hosted-pages-awell-health.vercel.app
hosted-pages-git-main-awell-health.vercel.app