Skip to content

examples: remove stale GraphCMS env log#95419

Open
msh01 wants to merge 1 commit into
vercel:canaryfrom
msh01:codex/remove-graphcms-stale-env-log
Open

examples: remove stale GraphCMS env log#95419
msh01 wants to merge 1 commit into
vercel:canaryfrom
msh01:codex/remove-graphcms-stale-env-log

Conversation

@msh01

@msh01 msh01 commented Jul 2, 2026

Copy link
Copy Markdown

Summary

Remove a stale debug log from the cms-graphcms example that printed process.env.NEXT_EXAMPLE_CMS_GCMS_PROJECT_ID when GraphCMS returned errors. That variable is not configured by the example, so the log only emitted undefined; the actual GraphCMS errors are still logged.

Verification

  • rg -n "NEXT_EXAMPLE_CMS_GCMS_PROJECT_ID|console\.error\(json\.errors\)" examples/cms-graphcms/lib/graphcms.js examples/cms-graphcms/README.md examples/cms-graphcms/.env.local.example
  • git diff --check
  • Not run: full example runtime (cms-graphcms requires GraphCMS credentials)

@msh01 msh01 marked this pull request as ready for review July 3, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant