MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / sidecarCrashReportingEnv

Function sidecarCrashReportingEnv

apps/desktop/src/main/diagnostics.ts:66–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65/** Env vars handed to the sidecar so its process reports under the same id. */
66export const sidecarCrashReportingEnv = (): Record<string, string> =>
67 errorReportingEnabled
68 ? {
69 EXECUTOR_SENTRY_DSN: sentryDsn,
70 EXECUTOR_SENTRY_RELEASE: releaseTag(),
71 EXECUTOR_SENTRY_ENVIRONMENT: environmentTag(),
72 EXECUTOR_RUN_ID: runId,
73 }
74 : {};
75
76/**
77 * Must run before `app.whenReady()` so the Crashpad handler attaches to

Callers 2

startSidecarFunction · 0.90
serviceEnvFunction · 0.90

Calls 2

releaseTagFunction · 0.85
environmentTagFunction · 0.85

Tested by

no test coverage detected