diff options
author | Mark Spruiell <mes@zeroc.com> | 2013-07-11 14:09:23 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2013-07-11 14:09:23 -0700 |
commit | 4d0b38cb387a9d5c0d857d94b47b3e7f12829c50 (patch) | |
tree | a0e543adf6f5dbc86fbe7bc0142e31ddd91849d6 /cpp | |
parent | Fixed ICE-5304 - IceGrid node doesn't initialize supplementary groups (diff) | |
download | ice-4d0b38cb387a9d5c0d857d94b47b3e7f12829c50.tar.bz2 ice-4d0b38cb387a9d5c0d857d94b47b3e7f12829c50.tar.xz ice-4d0b38cb387a9d5c0d857d94b47b3e7f12829c50.zip |
ICE-5335 - show stack trace for IceUtil::Exception
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Ice/Incoming.cpp | 4 |
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); } |