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 generic error message for unhandled 500s #751

Merged
merged 8 commits into from
Feb 6, 2024

Conversation

vicilliar
Copy link
Contributor

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug fix

  • What is the current behavior? (You can also link to an open issue here)
    Unhandled 500s raise a MarqoWebError with the original error message propagated to the user. This means means that vespa errors come through.

  • What is the new behavior (if this is a feature change)?
    Generic error message will replace original error message before raising.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    Yes

  • Related Python client changes (link commit/PR here)

  • Related documentation changes (link commit/PR here)

  • Other information:

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

src/marqo/tensor_search/api.py Outdated Show resolved Hide resolved
@vicilliar vicilliar merged commit 74bf999 into mainline Feb 6, 2024
16 of 19 checks passed
@vicilliar vicilliar deleted the joshua/generic-error-handler branch February 6, 2024 05:38
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.

3 participants