diff options
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index b95ca596911..a8adcd393bc 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -1032,6 +1032,9 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi { Error out(_initData.logger); out << "cannot create thread for timer:\n" << ex; +#ifdef __GNUC__ + out << "\n" << ex.ice_stackTrace(); +#endif throw; } @@ -1043,6 +1046,9 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi { Error out(_initData.logger); out << "cannot create thread for endpoint host resolver:\n" << ex; +#ifdef __GNUC__ + out << "\n" << ex.ice_stackTrace(); +#endif throw; } |