Skip to content

Commit

Permalink
Fix inconsistent telemetry debug var per #19469
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Oct 17, 2022
1 parent 5cadf8d commit e9bc1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/telemetry/src/index.ts
Expand Up @@ -29,7 +29,7 @@ export const telemetry = async (
}

if (!telemetryData.payload.error || options?.enableCrashReports) {
if (process.env?.STORYBOOK_DEBUG_TELEMETRY) {
if (process.env?.STORYBOOK_TELEMETRY_DEBUG) {
logger.info('\n[telemetry]');
logger.info(JSON.stringify(telemetryData, null, 2));
} else {
Expand Down

0 comments on commit e9bc1a7

Please sign in to comment.