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

fix: closing static logging client #1750

Merged
merged 1 commit into from Jun 5, 2023

Conversation

yashLadha
Copy link
Contributor

When the cloudwatch logs client bean is getting destroyed, it can throw NPE. If there is no cw logs appender used.

Added null check before closing to eliminate case of NPE, for use-case CW Logs Client is used apart from logging use-cases.

When the cloudwatch logs client bean is getting destroyed,
it can throw NPE. If there is no cw logs appender used.

Added null check before closing to eliminate case of NPE,
for use-case CW Logs Client is used apart from logging use-cases.
@CLAassistant
Copy link

CLAassistant commented Jun 4, 2023

CLA assistant check
All committers have signed the CLA.

@sdelamo sdelamo merged commit e99c75b into micronaut-projects:master Jun 5, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants