Skip to content

Commit

Permalink
feat: Change normalizeDepth of Sentry (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sertaç Karahoda authored Mar 31, 2022
1 parent 9ff1c25 commit c8247dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/server/adapters/logger/errorTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const getSentry = ({ sentryDSN, environment, version }: SentryGetParams): ErrorT
dsn: sentryDSN,
environment,
release: version,
normalizeDepth: 0,
normalizeDepth: 20,
beforeBreadcrumb(breadcrumb) {
const shouldIgnoreBreadcrumb = (
breadcrumb.type === SENTRY_HTTP_BREADCRUMB &&
Expand Down Expand Up @@ -106,4 +106,4 @@ const getErrorTracker = ({ sentryDSN, environment, version }: ErrorTrackerGetPar
export {
getErrorTracker,
ErrorTracker
};
};

0 comments on commit c8247dc

Please sign in to comment.