mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +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));
|
out.println(StrUtil.format(template, values));
|
||||||
if (null != t) {
|
if (null != t) {
|
||||||
//noinspection CallToPrintStackTrace
|
//noinspection CallToPrintStackTrace
|
||||||
t.printStackTrace();
|
t.printStackTrace(out);
|
||||||
out.flush();
|
out.flush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user