Console.log应该把异常信息打印到out而不是err

This commit is contained in:
gonggy 2022-07-19 19:44:28 +08:00
parent b83be40567
commit 35cdf306d8

View File

@ -86,7 +86,7 @@ public class Console {
out.println(StrUtil.format(template, values));
if (null != t) {
//noinspection CallToPrintStackTrace
t.printStackTrace();
t.printStackTrace(out);
out.flush();
}
}