summaryrefslogtreecommitdiff
path: root/cui/source/options/optupdt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optupdt.cxx')
-rw-r--r--cui/source/options/optupdt.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/cui/source/options/optupdt.cxx b/cui/source/options/optupdt.cxx
index 396cf5aaa5b7..33b70f558718 100644
--- a/cui/source/options/optupdt.cxx
+++ b/cui/source/options/optupdt.cxx
@@ -40,6 +40,7 @@
#include <osl/file.hxx>
#include <osl/security.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
using namespace ::css;
@@ -193,7 +194,8 @@ void SvxOnlineUpdateTabPage::UpdateUserAgent()
}
}
} catch (const uno::Exception &) {
- SAL_WARN( "cui.options", "Unexpected exception fetching User Agent" );
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN( "cui.options", "Unexpected exception fetching User Agent " << exceptionToString(ex) );
}
}
@@ -410,9 +412,10 @@ IMPL_LINK_NOARG(SvxOnlineUpdateTabPage, CheckNowHdl_Impl, Button*, void)
UpdateLastCheckedText();
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_WARN("cui.options", "Caught exception, thread terminated. " << e);
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN("cui.options", "Caught exception, thread terminated. " << exceptionToString(ex));
}
}