Skip to content

Fix RPC error message regression #966

@DanGould

Description

@DanGould

I think we have a regression in error handling from the new reqwest RPC client to the bitcoincore-rpc crate calls, where the method would also be printed. It'd be nice to get the insight of which request exactly failed like we had in the past

Insufficient funds, for example, is now returning

"Error: RPC request failed with status: 500 Internal Server Error" which is not descriptive.

Originally posted by @DanGould in #945 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueDoes NOT mean "an LLM can do this." Please discuss the constraints and intended approach.payjoin-cli

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions