MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / beforeSend

Function beforeSend

cli/src/telemetry/sentry.ts:24–26  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

22 includeServerName: false,
23 sendDefaultPii: false,
24 beforeSend(event) {
25 return scrubErrorEventForLocalPii(event);
26 },
27 // Do not send console outputs to Sentry to avoid sending PII.
28 integrations: (defaults) => {
29 return defaults.filter((integration) => integration.name !== 'Console');

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected