lujiajing1126 commented on a change in pull request #5357:
URL: https://github.com/apache/skywalking/pull/5357#discussion_r479391732
##########
File path:
apm-sniffer/apm-agent/src/main/java/org/apache/skywalking/apm/agent/SkyWalkingAgent.java
##########
@@ -62,7 +63,15 @@ public static void premain(String agentArgs, Instrumentation
instrumentation) th
final PluginFinder pluginFinder;
try {
SnifferConfigInitializer.initializeCoreConfig(agentArgs);
+ } catch (Exception e) {
+ LogManager.getLogger(SkyWalkingAgent.class)
+ .error(e, "SkyWalking agent initialized failure. Shutting
down.");
+ return;
+ } finally {
+ LOGGER = LogManager.getLogger(SkyWalkingAgent.class);
Review comment:
Added
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]