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

Function sidecarCrashReportingEnv

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

Source from the content-addressed store, hash-verified

63
64/** Env vars handed to the sidecar so its process reports under the same id. */
65export const sidecarCrashReportingEnv = (): Record<string, string> =>
66 errorReportingEnabled
67 ? {
68 EXECUTOR_SENTRY_DSN: sentryDsn,
69 EXECUTOR_SENTRY_RELEASE: releaseTag(),
70 EXECUTOR_SENTRY_ENVIRONMENT: environmentTag(),
71 EXECUTOR_RUN_ID: runId,
72 }
73 : {};
74
75/**
76 * 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