> If you want to show the transform failure, it is fine to open that always
> as an error level log, meanwhile, don't crash the monitored service.
> And you don't need a config to open this, we should warn the users about
> this always.



I mean the following code

agentBuilder.type(pluginFinder.buildMatch())
            .transform(new Transformer(pluginFinder))
            .with(AgentBuilder.RedefinitionStrategy.RETRANSFORMATION)
            .with(new Listener())
            // if we don’t add this code, the listener does not show any error
            .disableClassFormatChanges()
            .installOn(instrumentation);

https://github.com/raphw/byte-buddy/issues/871#issuecomment-635204898

Reply via email to