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

Function isSentryDisabledFromEnv

src/utils/logger.ts:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23import { areProcessStdioWritesSuppressed, isSentryCaptureSealed } from './shutdown-state.ts';
24
25function isSentryDisabledFromEnv(): boolean {
26 return (
27 process.env.SENTRY_DISABLED === 'true' || process.env.XCODEBUILDMCP_SENTRY_DISABLED === 'true'
28 );
29}
30
31function isSentryEnabled(): boolean {
32 return !isSentryDisabledFromEnv();

Callers 1

isSentryEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected