On failure log the whole matcher (#4500)

This commit is contained in:
Lauri Tulmin 2021-10-26 08:45:20 +03:00 committed by GitHub
parent ad4f973da4
commit 41a143812e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ public final class InstrumentationModuleInstaller {
new LoggingFailSafeMatcher<>(
moduleClassLoaderMatcher.and(typeInstrumentation.classLoaderOptimization()),
"Instrumentation class loader matcher unexpected exception: "
+ typeInstrumentation.classLoaderOptimization()))
+ moduleClassLoaderMatcher.and(
typeInstrumentation.classLoaderOptimization())))
.and(NOT_DECORATOR_MATCHER)
.and(muzzleMatcher)
.transform(ConstantAdjuster.instance())