Skip to content

Commit

Permalink
Merge pull request #19509 from storybookjs/shilman/fix-inconsistent-t…
Browse files Browse the repository at this point in the history
…elemetry-debug

Core: Fix inconsistent telemetry debug
  • Loading branch information
ndelangen authored and shilman committed Oct 24, 2022
1 parent 574500f commit 17469d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 17469d3

Please sign in to comment.