Skip to content

Show wrangler error messages in job step #360

@brachkow

Description

@brachkow

If there is something wrong with wrangler configuration, for examples bindings defined in root missing in environment used in action, you will get this non-informative and misleading error:

Run cloudflare/wrangler-action@v3
🔍 Checking for existing Wrangler installation

🚀 Running Wrangler Commands
Error: The process '/home/runner/setup-pnpm/node_modules/.bin/pnpm' failed with exit code 1
Error: 🚨 Action failed

Real issue is can be found in raw logs, but as message shown is completely unrelated to error it takes a lot of time to figure it out.

I think it will be good to show issues that happen in wrangler inside wrangler action step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions