-
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 exceptionHandler code logic #2489
Conversation
This part of the code has been refactored in #2486 |
Codecov Report
@@ Coverage Diff @@
## develop #2489 +/- ##
=============================================
+ Coverage 51.06% 51.09% +0.02%
- Complexity 2765 2767 +2
=============================================
Files 550 550
Lines 17529 17529
Branches 2064 2064
=============================================
+ Hits 8951 8956 +5
+ Misses 7735 7733 -2
+ Partials 843 840 -3
|
ok i think |
What you said should be AbstractExceptionHandler#exceptionHandleTemplate. |
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.
- AbstractExceptionHandler#exceptionHandleTemplate: this optimization is ok.
2.AbstractRpcRemoting: this part of the code has refactored in PR-2486, maybe you can participate in the code review of PR-2486.
core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java
Show resolved
Hide resolved
1d12394
to
af9f623
Compare
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
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
@YuKongEr Thank you for your contribution. |
Ⅰ. Describe what this PR did
Optimizi code logic
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews