We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a757a95 commit 84d340aCopy full SHA for 84d340a
log4j2-ecs-layout/src/main/java/co/elastic/logging/log4j2/MdcSerializerResolver.java
@@ -40,7 +40,7 @@ static MdcSerializer resolve(String mdcSerializerFullClassName) {
40
Class<?> clazz = Class.forName(mdcSerializerFullClassName);
41
return (MdcSerializer) clazz.getDeclaredConstructor().newInstance();
42
} catch (ClassNotFoundException | InstantiationException | IllegalAccessException | NoSuchMethodException |
43
- InvocationTargetException e) {
+ InvocationTargetException e) { //build failure?
44
throw new IllegalArgumentException("Could not create MdcSerializer " + mdcSerializerFullClassName, e);
45
}
46
0 commit comments