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

fix(ui): Return empty search response on invalid characters in search #4193

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

jjoyce0510
Copy link
Collaborator

When we use reserved characters to query elastic, the DataHub API will throw 500s. We want to catch and suppress such exceptions, abstracting them away from our callers.

Screenshot below showing exception has been handled on server:
Screen Shot 2022-02-18 at 12 21 21 PM

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

Copy link
Contributor

@dexter-mh-lee dexter-mh-lee left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link

Unit Test Results (build & test)

  70 files  +  1    70 suites  +1   11m 46s ⏱️ + 3m 57s
611 tests +71  552 ✔️ +64  59 💤 +7  0 ±0 

Results for commit ed2f355. ± Comparison against base commit b08784e.

@shirshanka shirshanka merged commit 71c2b66 into datahub-project:master Feb 18, 2022
aditya-radhakrishnan pushed a commit to aditya-radhakrishnan/datahub that referenced this pull request Feb 18, 2022
aditya-radhakrishnan pushed a commit to aditya-radhakrishnan/datahub that referenced this pull request Feb 18, 2022
maggiehays pushed a commit to maggiehays/datahub that referenced this pull request Aug 1, 2022
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