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 54c3d8b commit 7c5e548Copy full SHA for 7c5e548
packages/replay/src/integration.ts
@@ -155,8 +155,8 @@ export class Replay implements Integration {
155
// collect fonts, but be aware that `sentry.io` needs to be an allowed
156
// origin for playback
157
collectFonts: true,
158
- errorHandler: (err) => {
159
- // @ts-ignore Accessing unknown property
+ errorHandler: (err: Error) => {
+ // @ts-ignore ASet this so that replay SDK can ignore errors originating from rrweb
160
err.__rrweb__ = true;
161
return true;
162
}
0 commit comments