We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a35088 commit 1297d5fCopy full SHA for 1297d5f
packages/replay/src/replay.ts
@@ -273,7 +273,7 @@ export class ReplayContainer implements ReplayContainerInterface {
273
handleException(error: unknown): void {
274
__DEBUG_BUILD__ && logger.error('[Replay]', error);
275
276
- if (this.options._experiments && this.options._experiments.captureExceptions) {
+ if (__DEBUG_BUILD__ && this.options._experiments && this.options._experiments.captureExceptions) {
277
captureException(error);
278
}
279
0 commit comments