From a8fa05e8c0b0e57b6e2278747a5f6a8111447a8e Mon Sep 17 00:00:00 2001 From: Jaskey Date: Tue, 11 Apr 2017 14:38:05 +0800 Subject: [PATCH] [ROCKETMQ-138] Remove hard coded Aliyun authentication code, closes apache/incubator-rocketmq#75 --- .../rocketmq/remoting/netty/NettyRemotingAbstract.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java b/remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java index 08b51db3..83eeb02d 100644 --- a/remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java +++ b/remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java @@ -126,11 +126,8 @@ public abstract class NettyRemotingAbstract { } } } catch (Throwable e) { - if (!"com.aliyun.openservices.ons.api.impl.authority.exception.AuthenticationException" - .equals(e.getClass().getCanonicalName())) { - PLOG.error("process request exception", e); - PLOG.error(cmd.toString()); - } + PLOG.error("process request exception", e); + PLOG.error(cmd.toString()); if (!cmd.isOnewayRPC()) { final RemotingCommand response = RemotingCommand.createResponseCommand(RemotingSysResponseCode.SYSTEM_ERROR, // -- GitLab