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

Better error when model is not ready for predictions #368

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

tiffzhao5
Copy link
Collaborator

Pull Request Summary

Returns UpstreamServiceError with status code 503 when specifically the model isn't ready and raises a ClientConnectorException. I'm not sure if this covers all use cases for this ticket so let me know if 1) this error handling is good enough and 2) if there are other errors that should be handled.

Test Plan and Usage Guide

How did you validate that your PR works correctly? How do you run or demo the code? Provide enough detail so a reviewer can reasonably reproduce the testing procedure. Paste example command line invocations if applicable.

@tiffzhao5 tiffzhao5 merged commit 8bf0aa5 into main Nov 9, 2023
5 checks passed
@tiffzhao5 tiffzhao5 deleted the tiffany/sync-error-2 branch November 9, 2023 22:36
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.

None yet

2 participants