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

ref(replay): improve error messages for invalid searches that raise CouldNotParseValue #82048

Merged
merged 6 commits into from
Dec 13, 2024

Conversation

aliu39
Copy link
Member

@aliu39 aliu39 commented Dec 12, 2024

Closes #80574

CouldNotParseValue is a custom error we raise in parsers.py. They contain messages useful for users, but we need to include it in this exc handler first.

Also adds the parsed value to the msg

Relates to

@aliu39 aliu39 requested a review from a team as a code owner December 12, 2024 21:33
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 12, 2024
Copy link
Member

@michellewzhang michellewzhang left a comment

Choose a reason for hiding this comment

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

Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...y/replays/endpoints/project_replay_clicks_index.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #82048      +/-   ##
==========================================
+ Coverage   80.36%   80.38%   +0.01%     
==========================================
  Files        7275     7273       -2     
  Lines      321407   321204     -203     
  Branches    20962    20931      -31     
==========================================
- Hits       258298   258199      -99     
+ Misses      62698    62593     -105     
- Partials      411      412       +1     

@aliu39 aliu39 merged commit 56caa2f into master Dec 13, 2024
49 checks passed
@aliu39 aliu39 deleted the aliu/replay-search-error-msgs branch December 13, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Replay Search] Use backend exceptions to enhance index page error messages
3 participants