Skip to content

xpay: confusing logs "for the invoice's route hint" #8252

@JssDWt

Description

@JssDWt

Take this error message

Timed out after after 2 attempts. We got temporary_channel_failure for the invoice's route hint (829560x656x0/0), assuming it can't carry 558114517msat. We got a weird error (channel_disabled) for the invoice's route hint (883443x669x1/0): disabling it for this payment.

You would think 829560x656x0 and 883443x669x1 are in the invoice's route hints, but they are not. They are channels along the route.
Better would be We got temporary_channel_failure (829560x656x0/0), and only add the suffix for the invoice's route hint if the error occurs on the channel in the invoice's route hint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions