commit | 3dba27070c9dc399266ad43cd0b9405b66859884 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Mon Jan 11 16:29:54 2021 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Fri Jan 15 15:26:40 2021 +0100 |
tree | a8ec6b52fe8375365eff69c4658865bf8f0d472b | |
parent | 6c9b622269325177eb5927b79fba1d37deb6367f [diff] |
CodeOwnersExceptionHook: Fix extracting message from exception cause Instead of returning the message of the outer exception, return the message of the cause. The cause should have a more detailed message, e.g. if a code owner config file is invalid, it includes which line is invalid. For invalid code owner config files some information (project, branch) was only available in the outer exception. Include this info into the cause exception message too, so that we do not lose this info. Change-Id: Ia26d880fd6574fe00cd76d3fcf5931b23f3e761b Signed-off-by: Edwin Kempin <ekempin@google.com>
This plugin provides support for defining code owners for files in a repository.
If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.
Also see resources/Documentation/about.md
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md