Skip to content

Commit

Permalink
Update Sentry dsn, release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Aug 24, 2023
1 parent dccb966 commit 98d54f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_URL: https://toska.cs.helsinki.fi/
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_TOKEN }}
SENTRY_ORG: toska
SENTRY_PROJECT: kliksutin
with:
environment: production
set_commits: 'skip'
Expand Down
2 changes: 1 addition & 1 deletion src/client/util/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const initializeSentry = () => {
if (!inProduction || inStaging || inE2EMode) return

Sentry.init({
dsn: 'https://df9acc7c370a4a7396e99888a8f3eadb@sentry.cs.helsinki.fi/15',
dsn: 'https://72e49107b76381db56da800209363389@toska.cs.helsinki.fi/12',
release: GIT_SHA,
integrations: [new Integrations.BrowserTracing()],
tracesSampleRate: 1.0,
Expand Down
2 changes: 1 addition & 1 deletion src/server/util/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const initializeSentry = (router: Express) => {
if (!inProduction || inStaging || inE2EMode) return

initSentry({
dsn: 'https://df9acc7c370a4a7396e99888a8f3eadb@sentry.cs.helsinki.fi/15',
dsn: 'https://72e49107b76381db56da800209363389@toska.cs.helsinki.fi/12',
release: GIT_SHA,
integrations: [
new Integrations.Http({ tracing: true }),
Expand Down

0 comments on commit 98d54f5

Please sign in to comment.