MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / excludeEvents

Function excludeEvents

app/util/sentry/utils.js:132–141  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

130 * @returns {(event|null)}
131 */
132export function excludeEvents(event) {
133 //Modify or drop event here
134 if (event?.transaction === 'Route Change') {
135 //Route change is dropped because is does not reflect a screen we can action on.
136 //Don't send the event to Sentry
137 return null;
138 }
139
140 return event;
141}
142
143function sanitizeUrlsFromErrorMessages(report) {
144 rewriteErrorMessages(report, (errorMessage) => {

Callers 2

utils.test.tsFile · 0.90
initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected