Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void test() throws IOException {
protected void testOnWindows() throws IOException {

final String[] output = {
"Error: Connection Error, please check whether the network is available or the server has started. Host is 127.0.0.1, port is 6668."
"Error: Connection Error, please check whether the network is available or the server has started."
};
ProcessBuilder builder =
new ProcessBuilder(
Expand Down Expand Up @@ -121,7 +121,7 @@ protected void testOnWindows() throws IOException {
protected void testOnUnix() throws IOException {

final String[] output = {
"Error: Connection Error, please check whether the network is available or the server has started. Host is 127.0.0.1, port is 6668."
"Error: Connection Error, please check whether the network is available or the server has started."
};
ProcessBuilder builder =
new ProcessBuilder(
Expand Down
4 changes: 1 addition & 3 deletions iotdb-client/cli/src/main/java/org/apache/iotdb/cli/Cli.java
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,7 @@ private static void receiveCommands(CliContext ctx) throws TException {
}
}
} catch (SQLException e) {
ctx.getErr()
.printf(
"%s: %s Host is %s, port is %s.%n", IOTDB_ERROR_PREFIX, e.getMessage(), host, port);
ctx.getErr().printf("%s: %s%n", IOTDB_ERROR_PREFIX, e.getMessage());
ctx.exit(CODE_ERROR);
}
}
Expand Down
Loading