[Libreoffice-commits] online.git: Branch 'libreoffice-5-4' - kit/Kit.cpp
Pranav Kant
pranavk at collabora.co.uk
Wed Jan 31 16:50:11 UTC 2018
kit/Kit.cpp | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8e5ee2f98a02e6079cf3cdc7f37af637fa4933b4
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
(cherry picked from commit c52cc45f08fed8d62d77d813c040c779e96171a2)
Reviewed-on: https://gerrit.libreoffice.org/49012
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index a212a138..a42a9d41 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -1504,6 +1504,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