8000 HTTP Error 406 does not fail the action · Issue #9 · wei/curl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
HTTP Error 406 does not fail the action #9
Open
@samie

Description

@samie

I have a POST action which by design returns HTTP 406, however the curl action does not seem to fail like advertised, but action workflow passes on. Are there any example of error handling of HTTP errors?

Looks like the action uses --silent --show-error --fail as fixed arguments, but still only url: (22) The requested URL returned error: 406 is printed to the console log, without any workflow error. Also tried checking the job status using if: ${{ job.status == 'failure' }}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0