Skip to content

Task: Better error messages on CLI #232

@a-mpch

Description

@a-mpch

Description

Whenever we use the CLI and something goes wrong we show the gRPC status as the error message.
Example:
Error paying for offer: Status { code: Internal, message: "Internal error: Failed to send payment", metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Fri, 12 Sep 2025 13:54:13 GMT"} }, source: None }

We could do better on the information displayed there and actually hint the user what to do next or what failed. We could hint the user in what part of the process the payment fail, we could just drop the "metadata" part and probably use codes from #227

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions