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

[ISSUE#4095] Code Optimization and Interrupeted Exception handling.[EtcdCustomService] #4364

Closed

Conversation

himansh295
Copy link
Contributor

@himansh295 himansh295 commented Aug 15, 2023

Fixes #4095 .

Motivation

Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.

Modifications

Describe the modifications you've done.

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@himansh295 himansh295 changed the title Issue-4095 : Interuppeted Exception handling [Issue #4095] Interuppeted Exception handling Aug 15, 2023
@himansh295 himansh295 changed the title [Issue #4095] Interuppeted Exception handling [Issue #4095] Code Optimization and Interrupeted Exception handling.[EtcdCustomService] Aug 15, 2023
@pandaapo
Copy link
Member

Please specify the number of the issue fixed by this PR.
捕获

@@ -68,6 +68,9 @@ public List<EventMeshServicePubTopicInfo> findEventMeshServicePubTopicInfos() th
return eventMeshServicePubTopicInfoList;
}
} catch (Exception e) {
if(e instanceof InterruptedException) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be better to put it after the log message.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ohk sure

@mxsm mxsm changed the title [Issue #4095] Code Optimization and Interrupeted Exception handling.[EtcdCustomService] [ISSUE#4095] Code Optimization and Interrupeted Exception handling.[EtcdCustomService] Aug 15, 2023
Copy link
Member

@mxsm mxsm left a comment

Choose a reason for hiding this comment

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

@himansh295 Please fix code style
image

@Pil0tXia
Copy link
Member

Please resolve conflicts.

@Pil0tXia
Copy link
Member

Hi @himansh295 , the issue has been accomplished in #4752. Do you have any additional information to share? Feel free to share your latest insights with us. If you feel that your issue has been resolved, you are welcome to close it. We sincerely appreciate your contributions to Apache EventMesh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Code optimization. [EtcdCustomService]
6 participants