-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
optimize: optimize ZookeeperConfiguration log #2549
optimize: optimize ZookeeperConfiguration log #2549
Conversation
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.
LGTM
@@ -117,7 +117,8 @@ public String getConfig(String dataId, String defaultValue, long timeoutMills) { | |||
try { | |||
return future.get(timeoutMills, TimeUnit.MILLISECONDS); | |||
} catch (Exception e) { | |||
LOGGER.error("getConfig {} is error or timeout,return defaultValue {}", dataId, defaultValue); | |||
LOGGER.error("getConfig {} is error or timeout,return defaultValue {},error : {}", |
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.
after comma add space?
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.
after comma add space?
ok,I will fix
Codecov Report
@@ Coverage Diff @@
## develop #2549 +/- ##
=============================================
- Coverage 51.43% 51.42% -0.02%
+ Complexity 2807 2806 -1
=============================================
Files 553 553
Lines 17699 17699
Branches 2089 2089
=============================================
- Hits 9103 9101 -2
Misses 7743 7743
- Partials 853 855 +2
|
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.
LGTM
Ⅰ. Describe what this PR did
optimize:print the error message when getConfig from zk
Ⅱ. Does this pull request fix one issue?
optimize #2548
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews