Skip to content

Commit 9b7c1aa

Browse files
committed
COH-30431 extend: do not log a stack trace when the connection is closed
[git-p4: depot-paths = "//dev/main.cpp/": change = 109917]
1 parent afb7478 commit 9b7c1aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/coherence/component/util/Peer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
2+
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
33
*
44
* Licensed under the Universal Permissive License v 1.0 as shown at
5-
* http://oss.oracle.com/licenses/upl.
5+
* https://oss.oracle.com/licenses/upl.
66
*/
77
#include "private/coherence/component/util/Peer.hpp"
88

@@ -293,7 +293,7 @@ void Peer::onConnectionError(PofConnection::Handle hConnection,
293293

294294
dispatchConnectionEvent(hConnection, ConnectionEvent::connection_error, ohe);
295295

296-
COH_LOG("Closed: " << hConnection << " due to:\n" << ohe, 6);
296+
COH_LOG("Closed: " << hConnection << " due to: " << ohe->getName() << ": " << ohe->getMessage(), 6);
297297
}
298298

299299
void Peer::onConnectionOpened(PofConnection::Handle hConnection)

0 commit comments

Comments
 (0)