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.
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.