commit | 707a917c1d985afaa1dfeb9c6381888d1ab0cf8a | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Jan 23 15:58:03 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Jan 23 15:58:03 2020 +0900 |
tree | c3fd84d9730eb9c17d4c029b4315893b3832c0fa | |
parent | 57ee8678552b74d2323eed5e2425b27e3e2a7d25 [diff] | |
parent | ba4eabb68bdaeca1b5c2adb0c1585a77a8a4fe84 [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: ReplicationFileBasedConfig: fix UnusedException error from ErrorProne Change-Id: Ia6142dea1802cb44b83a0b1abb657f4e8510fe8c
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java index 6476412..1f0c40e 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java
@@ -280,7 +280,7 @@ result.add(new RemoteConfig(cfg, name)); } catch (URISyntaxException e) { throw new ConfigInvalidException( - String.format("remote %s has invalid URL in %s", name, cfg.getFile())); + String.format("remote %s has invalid URL in %s", name, cfg.getFile()), e); } } return result;