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

catch panic from http request #568

Merged
merged 1 commit into from
Nov 24, 2022
Merged

Conversation

en0ma
Copy link
Contributor

@en0ma en0ma commented Nov 24, 2022

This makes sure HTTP request does not crash the servers. I have verified this by adding a panic on an endpoint, calling the endpoint, and got a 500 response as expected

Copy link
Contributor

@alvin-reyes alvin-reyes left a comment

Choose a reason for hiding this comment

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

LGTM

@alvin-reyes alvin-reyes merged commit 961c7e4 into dev Nov 24, 2022
@en0ma en0ma deleted the chore/catch-panic-from-http-request branch November 24, 2022 14:37
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