Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined error message for various --output error #2156

Closed
jcamiel opened this issue Nov 13, 2023 · 0 comments · Fixed by #2158
Closed

Undefined error message for various --output error #2156

jcamiel opened this issue Nov 13, 2023 · 0 comments · Fixed by #2158
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Nov 13, 2023

On Hurl 4.1.0:

Output file doesn't exist:

$ echo 'GET https://hurl.dev' | hurl --output /tmp/toto/tata.out
error: Undefined error

Output file is readonly:

$ echo 'GET https://hurl.dev' | hurl --output /tmp/readonly.out
error: Undefined error

Output file is a directory:

$ echo 'GET https://hurl.dev' | hurl --output /tmp/dir/
error: Undefined error

Expected: error message should be informative

@jcamiel jcamiel added the bug Something isn't working label Nov 13, 2023
@jcamiel jcamiel changed the title Bad error for various --output error Bad error message for various --output error Nov 13, 2023
@jcamiel jcamiel changed the title Bad error message for various --output error Undefined error message for various --output error Nov 13, 2023
@jcamiel jcamiel added this to the 4.2.0 milestone Nov 13, 2023
@jcamiel jcamiel self-assigned this Nov 13, 2023
@jcamiel jcamiel linked a pull request Nov 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant