-
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
refactor: exceptionHandleTemplate #1040
Conversation
fix global status is null
Codecov Report
@@ Coverage Diff @@
## develop #1040 +/- ##
============================================
- Coverage 38.6% 38.51% -0.1%
Complexity 1067 1067
============================================
Files 218 218
Lines 8701 8722 +21
Branches 1086 1088 +2
============================================
Hits 3359 3359
- Misses 4920 4941 +21
Partials 422 422
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.
It's okey to me.
server/src/main/java/io/seata/server/AbstractTCInboundHandler.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/seata/core/exception/AbstractExceptionHandler.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/AbstractTCInboundHandler.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/AbstractTCInboundHandler.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/AbstractTCInboundHandler.java
Outdated
Show resolved
Hide resolved
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
@leizhiyuan you can click resolve
button
fix global status is null
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
fixes #922
notice! here, when occurs exception, what the correct global status should we return? please review it. I can change it later.
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews