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

Function captureMessage

cli/src/telemetry/sentry.ts:118–130  ·  view source on GitHub ↗
(
    message: string,
    data: {
        level: Sentry.SeverityLevel;
        tags?: { [key: string]: string };
        extra?: { [key: string]: unknown };
    },
)

Source from the content-addressed store, hash-verified

116export function captureException(error: unknown) {
117 if (!sentryEnabled) {
118 return;
119 }
120 Sentry.captureException(error);
121}
122
123export function captureMessage(
124 message: string,
125 data: {
126 level: Sentry.SeverityLevel;
127 tags?: { [key: string]: string };
128 extra?: { [key: string]: unknown };
129 },
130) {
131 if (!sentryEnabled) {
132 return;
133 }

Callers 3

onUploadMethod · 0.90
onDownloadMethod · 0.90
onDecryptionErrorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected