We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf86bae commit 34d27efCopy full SHA for 34d27ef
gateway-ha/src/main/java/io/trino/gateway/ha/clustermonitor/ClusterStatsJdbcMonitor.java
@@ -78,8 +78,7 @@ public ClusterStats monitor(ProxyBackendConfiguration backend)
78
properties.setProperty("SSL", String.valueOf(parsedUrl.getProtocol().equals("https")));
79
}
80
catch (MalformedURLException e) {
81
- log.error("could not parse backend url %s ", url);
82
- return clusterStats.build(); // TODO Invalid configuration should fail
+ throw new IllegalArgumentException("Invalid backend URL: " + url, e);
83
84
85
try (Connection conn = DriverManager.getConnection(jdbcUrl, properties);
0 commit comments