mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bug #263
This commit is contained in:
@@ -85,6 +85,7 @@ public class Console {
|
||||
public static void log(Throwable t, String template, Object... values) {
|
||||
out.println(StrUtil.format(template, values));
|
||||
if (null != t) {
|
||||
//noinspection CallToPrintStackTrace
|
||||
t.printStackTrace();
|
||||
out.flush();
|
||||
}
|
||||
|
Reference in New Issue
Block a user