MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / isSentryDisabled

Function isSentryDisabled

src/utils/sentry.ts:155–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153let selfTestEmitted = false;
154let pendingRuntimeContext: SentryRuntimeContext | null = null;
155function isSentryDisabled(): boolean {
156 return (
157 process.env.XCODEBUILDMCP_SENTRY_DISABLED === 'true' || process.env.SENTRY_DISABLED === 'true'
158 );
159}
160
161function isTestEnv(): boolean {
162 return process.env.VITEST === 'true' || process.env.NODE_ENV === 'test';

Callers 7

setSentryRuntimeContextFunction · 0.85
initSentryFunction · 0.85
enrichSentryContextFunction · 0.85
flushAndCloseSentryFunction · 0.85
flushSentryFunction · 0.85
shouldEmitMetricsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected