-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Log error conditions when fetching validator list. #2243
Conversation
You could also link against the native library that is installed... ;-) |
Codecov Report
@@ Coverage Diff @@
## develop #2243 +/- ##
===========================================
- Coverage 70.12% 70.08% -0.04%
===========================================
Files 689 689
Lines 50800 50810 +10
===========================================
- Hits 35621 35612 -9
- Misses 15179 15198 +19
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good simple change. I left one future-proofing suggestion, but it's not a deal breaker. 👍
JLOG (j_.warn()) << | ||
"Unsupported version validator list from " << | ||
sites_[siteIdx].uri; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is any chance of ListDisposition
getting additional values in the future, I suggest adding a final case.
else
{
BOOST_ASSERT(false);
}
That would make it a little more likely that we catch missing cases like this in the future, and gets optimized out in release builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
I'm marking this passed: both reviewers 👍, it passes my local unit tests. But continuous-integration/travis-ci/pr has failed several times with timeouts in building, so Travis seems unusable at this point. |
Merged as 8f347a5 |
This would have saved some time isolating a problem with Ubuntu using our statically linked redhat ssl lib.