always print more error information

This commit is contained in:
金戟 2021-03-26 01:12:52 +08:00
parent 27174afa93
commit 00055a4626

View File

@ -81,8 +81,8 @@ public class TestableClassTransformer implements ClassFileTransformer {
}
} catch (Throwable t) {
LogUtil.warn("Failed to transform class " + className);
LogUtil.diagnose(t.toString());
LogUtil.diagnose(ThreadUtil.getFirstRelatedStackLine(t));
LogUtil.warn(t.toString());
LogUtil.warn(ThreadUtil.getFirstRelatedStackLine(t));
} finally {
LogUtil.resetLogLevel();
}