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

add error handling for remote requests #4

Open
jpuck opened this issue Jun 13, 2018 · 0 comments
Open

add error handling for remote requests #4

jpuck opened this issue Jun 13, 2018 · 0 comments

Comments

@jpuck
Copy link
Member

jpuck commented Jun 13, 2018

For example, if the token expires and you make a request, we're left with a bland:

 [ERROR] pull failed

with no indication of why. At the very least we could have returned the http response code.

There needs to be better error reporting (maybe optionally introduced with verbosity settings) throughout all the remote endpoint connections.

return $io->error('pull failed');

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