Improve error messages for Pages CLI commands - #14010
Conversation
🦋 Changeset detectedLatest commit: e3e9294 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
✅ All changesets look good |
|
The review was posted successfully. Here's a summary of what I found: Two issues identified on PR #14010:
|
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
10e0df9 to
497df4f
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
3e0dce3 to
e3e9294
Compare
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Error messages across
wrangler pagessubcommands (deploy, dev, secret, project, etc.) now provide clearer descriptions and actionable guidance. For example, instead of "Must specify a project name.", you'll now see "Missing Pages project name. Use --project-name or set the name in your wrangler.jsonc configuration file."Input validation errors also now use
UserErrorinstead ofFatalErrorfor more accurate error classification.A picture of a cute animal (not mandatory, but encouraged)