Skip to content
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

【1.1.16】Empty pointer exception prompt when optimizing query task logs #298

Merged
merged 5 commits into from
Oct 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update msg
  • Loading branch information
v-kkhuang committed Oct 7, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit d22a35a4624c25808a7f02b16b24d833815000e6
Original file line number Diff line number Diff line change
@@ -440,7 +440,7 @@ private Message executeECMOperation(
if (Objects.isNull(ecmNode)) {
return Message.error(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use MessageFormat.format

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

MessageFormat.format(
"ECM node :[{0}] does not exist, Unable to open engine log(ECM节点:[{1}] 异常,无法打开日志,可能是该节点服务重启或则服务异常导致)",
"ECM node :[{0}] does not exist, Unable to open engine log(ECM节点:[{1}] 异常,无法打开日志,可能是该节点服务重启或者服务异常导致)",
engineInstance, engineInstance));
}
String operationName = OperateRequest$.MODULE$.getOperationName(ecmOperateRequest.parameters());