morningman commented on code in PR #22930:
URL: https://github.com/apache/doris/pull/22930#discussion_r1293094925
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/jdbc/client/JdbcClient.java:
##########
@@ -160,7 +162,8 @@ public Connection getConnection() throws
JdbcClientException {
try {
conn = dataSource.getConnection();
} catch (Exception e) {
- throw new JdbcClientException("Can not connect to jdbc", e);
+ throw new JdbcClientException("Can not connect to jdbc due to
error: %s, catalog name: %s", e,
Review Comment:
`e` should be at the end.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]