Skip to content

Loop In: real server error is swallowed #355

@guggero

Description

@guggero

Referencing lightninglabs/lightning-terminal#198.

The user sees the error message:

2021-03-10 08:30:40.567 [ERR] LOOPD: Loop in: cannot initiate swap: rpc error: code = DeadlineExceeded desc = context deadline exceeded

Even though the server returns the following error code (payment probe failing due to timeout):

2021-03-10 08:30:41.367 [ERR] NAUT: Swap b044bd3xxxxx initiation error: FailedPrecondition (target unreachable)

It seems somewhere we swallow the actual error code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions