Skip to content

Vague error: "ERROR Wrangler command failed" #798

@ts-web

Description

@ts-web

I have a GitHub Action that runs opennextjs-cloudflare deploy and it fails with a rather unhelpful message:

Creating D1 table if necessary...
ERROR Wrangler command failed
 ELIFECYCLE  Command failed with exit code 1.

This "ERROR Wrangler command failed" message is unhelpful. I would like to request that this message be improved by messaging for how to log more verbose error messaging with additional args or env vars.

It's very hard to google how to make wrangler output more errors (if indeed it is wrangler that is producing this error) -- because Google gives results about debugging workers with wrangler, not debugging the wrangler deploy command itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions