extensions/source/update/check/updatecheckjob.cxx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)
New commits: commit 9d1360a371f7335f1ede2f9ffe6f0282c53a07e7 Author: Michael Meeks <michael.me...@suse.com> Date: Wed Jun 5 13:03:22 2013 +0100 fdo#64962 - ignore exceptions from checking with the update service. Change-Id: If627b303f8710b915dcbdcb899454631f607e217 diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx index d61700e..b9cf884 100644 --- a/extensions/source/update/check/updatecheckjob.cxx +++ b/extensions/source/update/check/updatecheckjob.cxx @@ -131,11 +131,17 @@ void SAL_CALL InitUpdateCheckJobThread::run() return; } - rtl::Reference< UpdateCheck > aController( UpdateCheck::get() ); - aController->initialize( m_xParameters, m_xContext ); - - if ( m_bShowDialog ) - aController->showDialog( true ); + try { + rtl::Reference< UpdateCheck > aController( UpdateCheck::get() ); + aController->initialize( m_xParameters, m_xContext ); + + if ( m_bShowDialog ) + aController->showDialog( true ); + } catch (const uno::Exception &e) { + // fdo#64962 - don't bring the app down on some unexpected exception. + OSL_TRACE( "Caught init update exception: %s\n thread terminated.\n", + OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr() ); + } } void InitUpdateCheckJobThread::setTerminating() { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits