Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,6 @@ if (typeof document !== 'undefined') {
if (consumeStaleAppRecovery(hint.originalException)) {
return null
}
// Filter out errors from third-party ad tech scripts (e.g. Publift's
// Fuse Platform ftUtils.js) that are not actionable by us.
const frames = event.exception?.values?.flatMap(
(v) => v.stacktrace?.frames ?? [],
)
if (
frames &&
frames.length > 0 &&
frames.every((frame) => {
const filename = frame.filename ?? ''
return (
filename.includes('ftUtils.js') ||
filename.includes('fuseplatform.net')
)
})
) {
return null
}
return event
},
})
Expand Down
Loading