mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
Console.log应该把异常信息打印到out而不是err
This commit is contained in:
parent
b83be40567
commit
35cdf306d8
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user