Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report payment error info in listpays #6634

Open
sr-gi opened this issue Aug 29, 2023 · 0 comments
Open

Report payment error info in listpays #6634

sr-gi opened this issue Aug 29, 2023 · 0 comments

Comments

@sr-gi
Copy link
Contributor

sr-gi commented Aug 29, 2023

It looks like the current version of listpays does not return the decrypted error information in case a payment fails, only the undecrypted onion in erroronion. It would be really useful if the payment error is returned (or at least the error code corresponding to the reason) so failures could be tracked and acted on.

An example use case would be sending a payment and polling listpays to check the status of it, and report based on it. Currently, if the payment fails there is not much you could say about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant