diff Core/MultiThreading/RunnableWorkersPool.cpp @ 2290:4d500a555aad

catching std::exception before (...) to try to get more debug info
author Alain Mazy <alain@mazy.be>
date Tue, 27 Jun 2017 12:38:07 +0200
parents a3a65de1840f
children b9856b1615d6
line wrap: on
line diff
--- a/Core/MultiThreading/RunnableWorkersPool.cpp	Fri Jun 23 16:43:29 2017 +0200
+++ b/Core/MultiThreading/RunnableWorkersPool.cpp	Tue Jun 27 12:38:07 2017 +0200
@@ -77,6 +77,10 @@
           {
             LOG(ERROR) << "Not enough memory to handle some runnable object";
           }
+          catch (std::exception& e)
+          {
+            LOG(ERROR) << "Std excetion while handling some runnable object: " << e.what();
+          }
           catch (...)
           {
             LOG(ERROR) << "Native exception while handling some runnable object";