Skip to content

Commit

Permalink
fix: updating sentry api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
theClarkSell committed Jun 25, 2024
1 parent 99cd296 commit 526ffd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 3 additions & 5 deletions src/hooks.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ import { logging } from '$utils/config.public';
Sentry.init({
dsn: logging.dsn,
attachStacktrace: true,
tracesSampleRate: 1,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1,
integrations: [new Sentry.Replay()],
environment: logging.environment,
denyUrls: logging.denyUrls
denyUrls: logging.denyUrls,
enableTracing: false,
tracesSampleRate: 0
});

export const handleError = Sentry.handleErrorWithSentry();
5 changes: 3 additions & 2 deletions src/hooks.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ Sentry.init({
dsn: logging.dsn,
attachStacktrace: true,
environment: logging.environment,
tracesSampleRate: 1,
denyUrls: logging.denyUrls
denyUrls: logging.denyUrls,
enableTracing: false,
tracesSampleRate: 0
});

const loginRedirectPaths = [
Expand Down

0 comments on commit 526ffd3

Please sign in to comment.