Skip to content

Commit

Permalink
chore: capture only errors on sentry, debug log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz committed Dec 24, 2024
1 parent 0fe928d commit 2b7f2cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const VideoWrapper = ({ children }: PropsWithChildren<{}>) => {
user,
tokenProvider,
options: {
logLevel: 'warn',
logLevel: 'debug',
transformResponse: useLocalSfu
? getCustomSfuResponseTransformers(localIpAddress)
: undefined,
Expand Down
2 changes: 1 addition & 1 deletion sample-apps/react/react-dogfood/helpers/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const customSentryLogger: Logger = (
message: string,
...args: unknown[]
) => {
if (logLevel === 'warn' || logLevel === 'error') {
if (logLevel === 'error') {
Sentry.captureEvent({
level: logLevelMapping.get(logLevel),
message,
Expand Down

0 comments on commit 2b7f2cd

Please sign in to comment.