summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Incoming.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2013-07-11 14:09:23 -0700
committerMark Spruiell <mes@zeroc.com>2013-07-11 14:09:23 -0700
commit4d0b38cb387a9d5c0d857d94b47b3e7f12829c50 (patch)
treea0e543adf6f5dbc86fbe7bc0142e31ddd91849d6 /cpp/src/Ice/Incoming.cpp
parentFixed ICE-5304 - IceGrid node doesn't initialize supplementary groups (diff)
downloadice-4d0b38cb387a9d5c0d857d94b47b3e7f12829c50.tar.bz2
ice-4d0b38cb387a9d5c0d857d94b47b3e7f12829c50.tar.xz
ice-4d0b38cb387a9d5c0d857d94b47b3e7f12829c50.zip
ICE-5335 - show stack trace for IceUtil::Exception
Diffstat (limited to 'cpp/src/Ice/Incoming.cpp')
-rw-r--r--cpp/src/Ice/Incoming.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/Incoming.cpp b/cpp/src/Ice/Incoming.cpp
index 0b48e6dde2a..928c3c50088 100644
--- a/cpp/src/Ice/Incoming.cpp
+++ b/cpp/src/Ice/Incoming.cpp
@@ -388,6 +388,10 @@ IceInternal::IncomingBase::__handleException(const std::exception& exc)
_os.write(replyUnknownException);
ostringstream str;
str << *ex;
+ if(IceUtilInternal::printStackTraces)
+ {
+ str << '\n' << ex->ice_stackTrace();
+ }
_os.write(str.str(), false);
}