commit | cfb8c80a50140ba873293b6ca7d0b12446066608 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Thu Apr 29 12:55:02 2021 +0000 |
committer | Edwin Kempin <ekempin@google.com> | Thu Apr 29 13:12:44 2021 +0000 |
tree | f7f7d739cdb0159ea3534c94b1603f47b670bead | |
parent | 652ab80ab2ddaf7a75772aec1591145253c3ded4 [diff] |
CodeOwnerSubmitRule: Fix exception logging Rule errors are only returned in case an exception is caused by a user misconfiguration (e.g. an invalid OWNERS file). In this case it is sufficient to log a warning (without stacktrace). For other exceptions CodeOwnerSubmitRule throws a CodeOwnersInternalServerErrorException that will be logged on a higher level. Hence CodeOwnerSubmitRule doesn't need to write an error log in this case. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I2000893ce343d56073c2e10096eb6be8dfc9cd61
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.