summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ConnectionI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ConnectionI.cpp')
-rw-r--r--cpp/src/Ice/ConnectionI.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp
index 399351f2b0f..d5b92374617 100644
--- a/cpp/src/Ice/ConnectionI.cpp
+++ b/cpp/src/Ice/ConnectionI.cpp
@@ -1469,6 +1469,9 @@ Ice::ConnectionI::setState(State state, const LocalException& ex)
{
Warning out(_logger);
out << "connection exception:\n" << *_exception.get() << '\n' << _desc;
+#ifdef __GNUC__
+ out << "\n" << ex.ice_stackTrace();
+#endif
}
}
}