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

Close service container immediately on startup errors #20

Merged
merged 1 commit into from
May 13, 2024

Conversation

pavelpatrin
Copy link
Collaborator

Immediately close the service container if there is a startup error.

This action will forcefully terminate all services, even if there is no explicit close call in the client code.

This is particularly useful in scenarios where a client utilizes an error reporting service that must log errors from failed application launches and requires an explicit flush in its Close() error method.

@pavelpatrin pavelpatrin merged commit d13b8ba into main May 13, 2024
1 check passed
@pavelpatrin pavelpatrin deleted the close-on-error branch June 12, 2024 20:25
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.

1 participant