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

Add better error handling for code and fetch exceptions #642

Closed
VisargD opened this issue Oct 1, 2024 · 0 comments · Fixed by #640
Closed

Add better error handling for code and fetch exceptions #642

VisargD opened this issue Oct 1, 2024 · 0 comments · Fixed by #640
Assignees
Labels

Comments

@VisargD
Copy link
Collaborator

VisargD commented Oct 1, 2024

Currently, the gateway crashes in some cases where there is a provider config level exceptions. These should be gracefully handled.

Moreover, in retryHandler, we are not handling all the TypeError instances where the fetch itself would have failed. In such scenarios, gateway should create a 500 response with the exception message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant