summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Outgoing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r--cpp/src/Ice/Outgoing.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp
index 893b105cd3f..165255d8a7d 100644
--- a/cpp/src/Ice/Outgoing.cpp
+++ b/cpp/src/Ice/Outgoing.cpp
@@ -58,6 +58,9 @@ IceInternal::LocalExceptionWrapper::throwWrapper(const std::exception& ex)
}
stringstream s;
s << *le;
+#ifdef __GNUC__
+ s << "\n" << le->ice_stackTrace();
+#endif
throw LocalExceptionWrapper(UnknownLocalException(__FILE__, __LINE__, s.str()), false);
}
string msg = "std::exception: ";