#5845 Join message lines by newline

上级 a6fb10d9
......@@ -192,7 +192,7 @@ public class SSHImplementationJsch extends SSHImplementationAbstract {
String message;
try (BufferedReader reader = new BufferedReader(new InputStreamReader(process.getErrorStream()))) {
message = reader.lines().collect(Collectors.joining());
message = reader.lines().collect(Collectors.joining("\n"));
}
throw new IOException("Specified private key cannot be converted:\n" + message);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册