[Libreoffice-commits] online.git: kit/Kit.cpp

Pranav Kant pranavk at collabora.co.uk
Tue Oct 3 08:49:20 UTC 2017


 kit/Kit.cpp |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit c52cc45f08fed8d62d77d813c040c779e96171a2
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Tue Oct 3 14:16:59 2017 +0530

    Catch unknown exceptions and log it
    
    ... before lokit thread magically dissappears because some function in
    LO core threw an 'Exception'
    
    Change-Id: I8357b18d95674af8ec4d2f57ad41087f7b7dfcff

diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index f1b2860b..3802ff59 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -1751,6 +1751,10 @@ private:
         {
             LOG_ERR("QueueHandler::run: Exception: " << exc.what());
         }
+        catch (...)
+        {
+            LOG_FTL("QueueHandler::run: Unknown exception");
+        }
 
         LOG_DBG("Thread finished.");
     }


More information about the Libreoffice-commits mailing list