From 6eac49dd237ead7fbc537c7ada253cbeb5e7cb7c Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 26 Mar 2022 22:14:03 +0800 Subject: [PATCH] Remove unnecessary InterruptedException catch (#130) --- .../skywalking/apm/agent/core/commands/CommandService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/commands/CommandService.java b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/commands/CommandService.java index cf262880e..ae4f2b1dc 100755 --- a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/commands/CommandService.java +++ b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/commands/CommandService.java @@ -71,8 +71,6 @@ public class CommandService implements BootService, Runnable { commandExecutorService.execute(command); serialNumberCache.add(command.getSerialNumber()); - } catch (InterruptedException e) { - LOGGER.error(e, "Failed to take commands."); } catch (CommandExecutionException e) { LOGGER.error(e, "Failed to execute command[{}].", e.command().getCommand()); } catch (Throwable e) {