Skip to content

(bug/feature) Ability for .toml / .jsonc file to set a variable to allow disable error reporting prompt #10578

@mrbm

Description

@mrbm

Describe the solution

"Would you like to report this error to Cloudflare? Wrangler's output and the error details will be shared with the Wrangler team to help us diagnose and fix the issue." is messing up vibe coding and agentic coding tool workflows. Solution: variable can be set in .toml file to disable this message in a project.

here is an example of the problem:

user runs this command:

wrangler d1 execute testy-db --file=migrations/0016_add_approval_id_to_transfers.sql --local

wrangler responds with:

⛅️ wrangler 4.32.0 (update available 4.34.0)
─────────────────────────────────────────────
🌀 Executing on local database testy-db (5827a6c2-33ae-4f9c-b73a-1bf02ba5b808) from .wrangler/state/v3/d1:
🌀 To execute on your remote database, add a --remote flag to your wrangler command.

✘ [ERROR] duplicate column name: approval_id: SQLITE_ERROR

If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
Note that there is a newer version of Wrangler available (4.34.0). Consider checking whether upgrading resolves this error.
? Would you like to report this error to Cloudflare? Wrangler's output and the error details will be shared with the Wrangler team to help us diagnose and fix the issue. › (Y/n)

Error message good! (more info would be better), but road block is the requirement of a yes/no response from a coding tool or user..bad and ruining the ability to proceed so much as to not use cloudflare.

This should be high priority.

I attempted to set:
"SEND_METRICS": "FALSE"

But prompt still persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions