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

"Loading: No" Returns Successful ("0") Exit Status #69

Open
malanmurphy opened this issue May 4, 2022 · 0 comments
Open

"Loading: No" Returns Successful ("0") Exit Status #69

malanmurphy opened this issue May 4, 2022 · 0 comments

Comments

@malanmurphy
Copy link

chrome-cli v1.8.0

When chrome-cli fails to load a URL, it returns a status message of "Loading: No" yet it returns an exit status of "0", inferring that loading the URL was successful when the error message states that it wasn't.

To repo:

$ chrome-cli open

Continually until you receive a response that "Loading: No" (you will eventually, see #68 for more info). Once you receive a failed loading message:

$ echo $?

It will return a "0" even though the error message states it failed to load. This incorrect error status prevents testing to see if a URL was successfully loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant