Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Refine error handling in sample application #136

Open
sergefdrv opened this issue Dec 3, 2019 · 0 comments
Open

Refine error handling in sample application #136

sergefdrv opened this issue Dec 3, 2019 · 0 comments

Comments

@sergefdrv
Copy link
Contributor

Initially, request function would return an error that is propagated by cobra up the call stack, and finally reported here. Maybe we should restore that behavior (in a separate PR)?

In that case, it seems not necessary to output the error here, because sample/peer/cmd.Execute will do that. We might also want to report the error to stderr rather than stdout.

Originally posted by @sergefdrv in #134

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

No branches or pull requests

1 participant