CheckerQuery: Handle QueryParseException from query execution
QueryParseException may be thrown not just while parsing the query, but
also from ChangeQueryProcessor#query. Ensure this exception is converted
to ConfigInvalidException rather than wrapped in an opaque OrmException.
Also factor out a method to use consistent messages in
ConfigInvalidExceptions thrown from CheckerQuery.
Change-Id: Idd08b98dde7b26e82f644a6c3d88b3cfd9af0555
2 files changed
tree: a3236126dc1c988b4bdc31240a18b3c99f5e93ba
- gr-checks/
- java/
- javatests/
- src/
- BUILD
- LICENSE
- README.md
README.md
Gerrit Code Review Checks Plugin
This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.