You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/03/26 14:14:08 UTC

[skywalking-java] branch main updated: Remove unnecessary InterruptedException catch (#130)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git


The following commit(s) were added to refs/heads/main by this push:
     new 6eac49d  Remove unnecessary InterruptedException catch (#130)
6eac49d is described below

commit 6eac49dd237ead7fbc537c7ada253cbeb5e7cb7c
Author: Oliver <wq...@163.com>
AuthorDate: Sat Mar 26 22:14:03 2022 +0800

    Remove unnecessary InterruptedException catch (#130)
---
 .../org/apache/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 cf26288..ae4f2b1 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) {