kit/Kit.cpp | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 8e5ee2f98a02e6079cf3cdc7f37af637fa4933b4 Author: Pranav Kant <pran...@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.mehrbr...@cib.de> Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@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."); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits