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

events: throw an exception if the peer did not disconnect #126

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

vincenzopalazzo
Copy link
Collaborator

No description provided.

Currently an event is too many things, and means too many things.

However, an event should return Ok or an error in most of the case.

If it is ok there is no error return, otherwise an exception. So
this commit is fixing a while loop while the event was returning always
false.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
A system test should do a single thing at once otherwise
it make the code hard to read.

So this is doing it.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
@vincenzopalazzo vincenzopalazzo merged commit fb0efe2 into master Nov 18, 2024
3 of 4 checks passed
@vincenzopalazzo vincenzopalazzo deleted the macros/cln-check branch November 18, 2024 15:35
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

Successfully merging this pull request may close these issues.

1 participant