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

Throw a QueryException when an error occurs when parsing JEXL syntax #2485

Open
lbschanno opened this issue Jul 30, 2024 · 0 comments · May be fixed by #2510
Open

Throw a QueryException when an error occurs when parsing JEXL syntax #2485

lbschanno opened this issue Jul 30, 2024 · 0 comments · May be fixed by #2510
Assignees

Comments

@lbschanno
Copy link
Collaborator

When a JEXL query has invalid syntax, typically an InvalidArgumentException is thrown. In this case, no error code gets recorded to metrics. We should be throwing a QueryException wrapped around the parsing exception with an appropriate error code that can be recorded in metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants