changeset 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 89d17c72287b
children b9856b1615d6
files Core/MultiThreading/RunnableWorkersPool.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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";