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

Enhancements for handling Error in InitExecutor and LogBase #613

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

sczyh30
Copy link
Member

@sczyh30 sczyh30 commented Mar 25, 2019

Signed-off-by: Eric Zhao [email protected]

Describe what this PR does / why we need it

Enhancements for handling Error in InitExecutor and LogBase so that it won't affect the normal logic.

Does this pull request fix one issue?

Closes #583, also resolves #563

Describe how you did it

  • Ensure Error caught in InitExecutor.doInit() to avoid NoClassDefFoundError during initalization.
  • When LogBase cannot be initialized, it won't exit the process directly.
  • Improve log messages in InitExecutor.doInit().

Describe how to verify it

Run the demo.

Special notes for reviews

None

… in LogBase

- to avoid affecting normal logic of users

Signed-off-by: Eric Zhao <[email protected]>
@sczyh30 sczyh30 added the to-review To review label Mar 25, 2019
Copy link
Contributor

@CarpenterLee CarpenterLee left a comment

Choose a reason for hiding this comment

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

LGTM

@sczyh30 sczyh30 merged commit d5204bb into master Mar 27, 2019
@sczyh30 sczyh30 deleted the enhancement/catch-error-no-exit branch March 27, 2019 02:55
@sczyh30 sczyh30 removed the to-review To review label Mar 27, 2019
@sczyh30 sczyh30 added this to the 1.5.1 milestone Mar 27, 2019
blindpirate pushed a commit to blindpirate/Sentinel that referenced this pull request Apr 10, 2019
… in LogBase (alibaba#613)

to avoid affecting normal logic of users

Signed-off-by: Eric Zhao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants