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

feat: add panic recovery middleware for grpc and echo server #3459

Merged
merged 1 commit into from
May 26, 2024

Conversation

RyoJerryYu
Copy link
Contributor

A panic would lead to a server shutdown now.
This PR is trying to make the server more robust, by adding panic recover interceptor for echo server and grpc server.

@RyoJerryYu RyoJerryYu requested a review from boojack as a code owner May 26, 2024 13:30
Copy link
Collaborator

@boojack boojack left a comment

Choose a reason for hiding this comment

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

LGTM

@boojack boojack merged commit 784fcbb into usememos:main May 26, 2024
1 of 2 checks passed
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.

2 participants