(event)
| 130 | * @returns {(event|null)} |
| 131 | */ |
| 132 | export 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 | |
| 143 | function sanitizeUrlsFromErrorMessages(report) { |
| 144 | rewriteErrorMessages(report, (errorMessage) => { |
no outgoing calls
no test coverage detected