Skip to content

Commit 1297d5f

Browse files
committed
ref(replay): Strip out capture exceptions stuff outside of DEBUG_BUILD
1 parent 7a35088 commit 1297d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replay/src/replay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export class ReplayContainer implements ReplayContainerInterface {
273273
handleException(error: unknown): void {
274274
__DEBUG_BUILD__ && logger.error('[Replay]', error);
275275

276-
if (this.options._experiments && this.options._experiments.captureExceptions) {
276+
if (__DEBUG_BUILD__ && this.options._experiments && this.options._experiments.captureExceptions) {
277277
captureException(error);
278278
}
279279
}

0 commit comments

Comments
 (0)