You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2023/02/23 12:05:50 UTC
[incubator-eventmesh] branch master updated: [ISSUE #3150] Method prints the stack trace to the console[SubClientImpl]
This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 20b1ba15e [ISSUE #3150] Method prints the stack trace to the console[SubClientImpl]
new 173b87a60 Merge pull request #3233 from Bannirui/fix-3150
20b1ba15e is described below
commit 20b1ba15ec2a9726704a8a7681ff01d2af39dc06
Author: dingrui <ba...@outlook.com>
AuthorDate: Wed Feb 22 11:11:51 2023 +0800
[ISSUE #3150] Method prints the stack trace to the console[SubClientImpl]
---
.../java/org/apache/eventmesh/runtime/client/impl/SubClientImpl.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/SubClientImpl.java b/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/SubClientImpl.java
index 50a28a306..80da7d431 100644
--- a/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/SubClientImpl.java
+++ b/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/SubClientImpl.java
@@ -44,7 +44,6 @@ import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
-
import lombok.extern.slf4j.Slf4j;
@Slf4j
@@ -92,7 +91,7 @@ public class SubClientImpl extends TCPClient implements SubClient {
task.cancel(false);
super.close();
} catch (Exception e) {
- e.printStackTrace();
+ log.error("cancel close err", e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org