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