Skip to content

Return more detailed error responses for the second request #11

Closed
@philippgille

Description

When sending an invalid preimage in the second request, there's only one error response: "The provided preimage is invalid".

But it might be useful for the sender to know why it's invalid. For example: Because it was already used? Or because no invoice could be found for the preimage? Or because the corresponding invoice wasn't settled yet?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions