kr11 commented on a change in pull request #34: fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/34#discussion_r251229789
##########
File path: jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBQueryResultSet.java
##########
@@ -708,7 +711,8 @@ private boolean nextWithoutConstraints() throws
SQLException {
recordItr = records.iterator();
}
} catch (TException e) {
- throw new SQLException("Cannot fetch result from server, because of
network connection");
+ throw new SQLException(
+ "Cannot fetch result from server, because of network connection: "
+ e);
Review comment:
Take `Exception e` as the second parameter instead of concatenating String
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services