mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-09 20:00:21 +08:00
always print more error information
This commit is contained in:
parent
27174afa93
commit
00055a4626
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user