Skip to content

stat: recompose and propagate error instead of just logging it #804

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

Merged

Conversation

odeke-em
Copy link
Owner

@odeke-em odeke-em commented Dec 3, 2016

Fixes #801.

Recompose and propagate encountered errors along with their
status/run-level codes, instead of just logging them.

  • Exhibit:
$ drive stat goos-goarch && echo "success"; echo $?
stat: /goos-goarch err: remote path doesn't exist
9

Fixes #801.

Recompose and propagate encountered errors along with their
status/run-level codes, instead of just logging them.

* Exhibit:
```shell
$ drive stat goos-goarch && echo "success"; echo $?
stat: /goos-goarch err: remote path doesn't exist
9
```
@odeke-em odeke-em merged commit 2b1b5c6 into master Dec 3, 2016
@odeke-em odeke-em deleted the stat-propagate-encountered-error-instead-of-just-logging-it branch January 6, 2017 23:45
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

Successfully merging this pull request may close these issues.

1 participant