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

Display error message when hurl input can not be decoded #139

Closed
fabricereix opened this issue Feb 3, 2021 · 2 comments
Closed

Display error message when hurl input can not be decoded #139

fabricereix opened this issue Feb 3, 2021 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@fabricereix
Copy link
Collaborator

$ cat /usr/bin/ls | hurl
thread 'main' panicked at 'Something went wrong reading standard input: Custom { kind: InvalidData, error: "stream did not contain valid UTF-8" }', packages/hurl/src/main.rs:665:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@fabricereix fabricereix added bug Something isn't working 1.1.0 labels Feb 3, 2021
@fabricereix
Copy link
Collaborator Author

Here is the new error message

$ cat /usr/bin/ls | hurl
error: Input stream can not be read - stream did not contain valid UTF-8

@fabricereix
Copy link
Collaborator Author

fix in #140

@lepapareil lepapareil added this to the 1.1.0 milestone Feb 23, 2021
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

No branches or pull requests

2 participants