-
Notifications
You must be signed in to change notification settings - Fork 5k
[Improvement] Directly Throw exception when taskInstancy log path is empty which log need to be queried #15511
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
[Improvement] Directly Throw exception when taskInstancy log path is empty which log need to be queried #15511
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #15511 +/- ##
============================================
- Coverage 38.02% 38.02% -0.01%
Complexity 4692 4692
============================================
Files 1304 1304
Lines 44812 44778 -34
Branches 4803 4781 -22
============================================
- Hits 17038 17025 -13
+ Misses 25923 25902 -21
Partials 1851 1851 ☔ View full report in Codecov by Sentry. |
224c5e8 to
a88d150
Compare
| UNAUTHORIZED_USER_ERROR(10101, "unauthorized user error", "查询未授权用户错误"), | ||
| AUTHORIZED_USER_ERROR(10102, "authorized user error", "查询授权用户错误"), | ||
| QUERY_TASK_INSTANCE_LOG_ERROR(10103, "view task instance log error", "查询任务实例日志错误"), | ||
| QUERY_TASK_INSTANCE_LOG_ERROR(10103, "view task instance log error: {0}", "查询任务实例日志错误"), |
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.
hi @ruanwenjun Should we make a slight modification and replace it with 查询任务实例日志错误: {0}
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.
Done
a88d150 to
4a12dea
Compare
fuchanghai
left a comment
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
4a12dea to
b33fd86
Compare
…g need to be queried
b33fd86 to
5fa31e0
Compare
5fa31e0 to
35001b5
Compare
|
fuchanghai
left a comment
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



Purpose of the pull request
Avoid send RPC to worker, cause worker NPE
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md