commit | ba4eabb68bdaeca1b5c2adb0c1585a77a8a4fe84 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Jan 22 16:35:37 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Jan 22 16:35:37 2020 +0900 |
tree | 27f2df8ab20830c7f039c156ac37961e7d26d667 | |
parent | 22ef9a9634008dfc09ea4dae6f17d99aa4dbbb81 [diff] |
ReplicationFileBasedConfig: fix UnusedException error from ErrorProne Change-Id: I2b04ba8cb9d88e2a40284f0b40195a522ac260e2
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 9004968..683fb9b 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationFileBasedConfig.java
@@ -191,7 +191,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;