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

main: fix spurious error logs for empty bootnodes flag val #248

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

meowsbits
Copy link
Member

Program logged ERROR level logs about
failing to parse bootnodes when in fact none were
passed.

This fix checks for empty values before
attempting to parse bootnode values.

Date: 2020-12-07 07:14:06-06:00
Signed-off-by: meows b5c6@protonmail.com

Program logged ERROR level logs about
failing to parse bootnodes when in fact none were
passed.

This fix checks for empty values before
attempting to parse bootnode values.

Date: 2020-12-07 07:14:06-06:00
Signed-off-by: meows <b5c6@protonmail.com>
@meowsbits
Copy link
Member Author

Just FYI, the ERROR log looked like this:

Nov 16 18:32:09 sf-etclabs sh[27642]: ERROR[11-16|18:32:09.074] Failed to parse bootnode URL             url= err="invalid URL scheme, want \"enode\""                               

Rel #240

Copy link
Member

@ziogaschr ziogaschr left a comment

Choose a reason for hiding this comment

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

LGTM

@meowsbits meowsbits merged commit df157ef into master Dec 21, 2020
@meowsbits meowsbits deleted the fix/faucet-parse-bootnodes-spurious-error-logs branch December 21, 2020 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants