-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
🚑 avoid metric bug #12817
🚑 avoid metric bug #12817
Conversation
try { | ||
tryCallBack.callback(); | ||
} catch (Throwable e2) { | ||
logger.debug("MetricsEventBus tryInvoke error", e2); |
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.
logger.debug("MetricsEventBus tryInvoke error", e2); | |
logger.warn("MetricsEventBus tryInvoke error", e2); |
warn with error code
Codecov Report
@@ Coverage Diff @@
## 3.2 #12817 +/- ##
=============================================
+ Coverage 68.66% 69.40% +0.73%
+ Complexity 130 2 -128
=============================================
Files 3653 1644 -2009
Lines 170427 68212 -102215
Branches 28018 9973 -18045
=============================================
- Hits 117031 47343 -69688
+ Misses 43274 16293 -26981
+ Partials 10122 4576 -5546 see 2074 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Kudos, SonarCloud Quality Gate passed! |
What is the purpose of the change
add try catch to avoid metric bug
Brief changelog
Verifying this change
Checklist