Skip to content

Unwrap ErrorPolykeyRemote when reporting errors #107

@tegefaulkes

Description

@tegefaulkes

Specification

When an RPC call fails it throws ErrorPolykeyRemote with the true error as the cause. This is very noisy when printed by the CLI command and is frankly confusing at times. When reporting these errors we want to unwrap the ErrorPolykeyRemote and just report the actual cause of the error.

Additional context

Tasks

  1. Unwrap the ErrorPolykeyRemote error and just report the cause when reporting the RPC errors.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions