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

fix(wakucanary): add missing return on timeout #1901

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

vpavlin
Copy link
Member

@vpavlin vpavlin commented Aug 10, 2023

Description

Adds missing return 1 when a timeout is reached to actually exit with error

Changes

  • add missing return in case of timeout

How to test

  1. wakucanary -p=relay -a=/ip4/194.28.98.219/tcp/60000/p2p/16Uiu2HAkvHuBgC2Qb5UUPTULkuxMuQcjX7SDnvyPZB2HPmLnRyoV
ERR 2023-08-10 13:45:34.593+02:00 Timedout after                             tid=1124991 file=wakucanary.nim:180 timeout=10s
ERR 2023-08-10 13:45:34.593+02:00 The node has some problems (see logs)      tid=1124991 file=wakucanary.nim:203

Issue

closes #1900

@vpavlin vpavlin changed the title bug(wakucanary): add missing return on timeout fix(wakucanary): add missing return on timeout Aug 10, 2023
@github-actions
Copy link

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:1901

Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good morning!
Awesome, thanks for this!

@vpavlin vpavlin merged commit 7dce0b9 into master Aug 11, 2023
@vpavlin vpavlin deleted the bug/wakucanary-error-timeout branch August 11, 2023 08:00
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.

bug(wakucanary): wakucanary reports success on timeout
3 participants