commit | 28937dfb20a4005911ef9c2d4467115a10c62076 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Feb 10 17:22:52 2021 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Fri Feb 12 13:44:44 2021 +0100 |
tree | d189b74ab7c5959dbd4ae856a7bfccc14ec24283 | |
parent | 573ed959e12e7ffab017159adec2aa5ef6e065ba [diff] |
ChangeCodeOwnersFactory: Fix error message Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: If5d2c8a8ef8d1e355771600ccfa46c1eab96e98f
diff --git a/java/com/google/gerrit/plugins/codeowners/api/impl/ChangeCodeOwnersFactory.java b/java/com/google/gerrit/plugins/codeowners/api/impl/ChangeCodeOwnersFactory.java index 5c7535f..22b73a5 100644 --- a/java/com/google/gerrit/plugins/codeowners/api/impl/ChangeCodeOwnersFactory.java +++ b/java/com/google/gerrit/plugins/codeowners/api/impl/ChangeCodeOwnersFactory.java
@@ -64,7 +64,7 @@ try { return changesCollection.parse(TopLevelResource.INSTANCE, IdString.fromDecoded(changeId)); } catch (Exception e) { - throw asRestApiException("Cannot retrieve revision", e); + throw asRestApiException("Cannot retrieve change", e); } } }