This is an automated email from the ASF dual-hosted git repository.
jonyang 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 a4bfa6bdf [ISSUE #3149]Method prints the stack trace replace with
logger (#3224)
a4bfa6bdf is described below
commit a4bfa6bdf324a4d5dfb8f8d99dfc60d1c5d428e9
Author: mxsm <[email protected]>
AuthorDate: Tue Feb 21 11:04:13 2023 +0800
[ISSUE #3149]Method prints the stack trace replace with logger (#3224)
---
.../java/org/apache/eventmesh/runtime/client/impl/PubClientImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/PubClientImpl.java
b/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/PubClientImpl.java
index 88b3416c4..4bdd008b9 100644
---
a/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/PubClientImpl.java
+++
b/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/client/impl/PubClientImpl.java
@@ -76,7 +76,7 @@ public class PubClientImpl extends TCPClient implements
PubClient {
task.cancel(false);
super.close();
} catch (Exception e) {
- e.printStackTrace();
+ log.error("cancel close error", e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]