Skip to content

Better error when model is not ready for predictions#368

Merged
tiffzhao5 merged 3 commits intomainfrom
tiffany/sync-error-2
Nov 9, 2023
Merged

Better error when model is not ready for predictions#368
tiffzhao5 merged 3 commits intomainfrom
tiffany/sync-error-2

Conversation

@tiffzhao5
Copy link
Copy Markdown
Contributor

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
@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.

2 participants