Skip to content

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

@lbschanno

Description

@lbschanno

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions