Replies: 4 comments
-
So the batch opening can fail not only because of the interplay between a specific peer, I decided to provide a simple fix to add the particular peer in the error as soon as we can be sure the opening process failed due to this peer. |
Beta Was this translation helpful? Give feedback.
-
Open to add RPC structured errors as well, but IMO it's overkill. This is how it looks right now when we are sure the channel failed because of a peer interaction:
|
Beta Was this translation helpful? Give feedback.
-
There have been a couple of attempts at structured errors, but it's not easy to generalize them in a nice and consistent manner. See discussions in |
Beta Was this translation helpful? Give feedback.
-
Converting this issue to a discussion. Issue can be opened when the development is planned. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
When BatchOpenChannel fails, it returns an unstructured error string. This makes it difficult to detect which peer caused the failure. One could try parsing the string, but there is no standard format.
Describe the solution you'd like
It would be useful if BatchOpenChannel returned a structure describing which peers failed exactly.
Describe alternatives you've considered
Additional context
Beta Was this translation helpful? Give feedback.
All reactions