diff --git a/code/core/src/core-server/withTelemetry.ts b/code/core/src/core-server/withTelemetry.ts index 74464060d044..aa1788c12a5b 100644 --- a/code/core/src/core-server/withTelemetry.ts +++ b/code/core/src/core-server/withTelemetry.ts @@ -14,7 +14,7 @@ type TelemetryOptions = { }; const promptCrashReports = async () => { - if (process.env.CI) { + if (process.env.CI || !process.stdout.isTTY) { return undefined; } @@ -179,6 +179,6 @@ export async function withTelemetry( throw error; } finally { - process.off('SIGINIT', cancelTelemetry); + process.off('SIGINT', cancelTelemetry); } }