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