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

Refine error handling in sample application #136

@sergefdrv

Description

@sergefdrv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions