diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2019-12-26 09:22:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-26 19:08:42 +0100 |
commit | df773dc769f6a0d676673ac9b5fc0e8132e435e6 (patch) | |
tree | fe744b9d76e5f26282409fbe3b117e24659de7c0 /extensions/source/update/check/updatehdl.cxx | |
parent | 32b9d07baa0cf6907f14ccb9aa068b51d95eefaa (diff) |
use more TOOLS_WARN_EXCEPTION
so we get more useful log messages when stuff goes wrong
Change-Id: Ia55db7ab1a4d79b0f281673fbbb06c61745fa89e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85829
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/update/check/updatehdl.cxx')
-rw-r--r-- | extensions/source/update/check/updatehdl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 9630a9395218..23b78f30bf55 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -63,6 +63,7 @@ #include <strings.hrc> #include <unotools/resmgr.hxx> #include <tools/urlobj.hxx> +#include <tools/diagnose_ex.h> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> @@ -711,7 +712,7 @@ void UpdateHandler::setControlProperty( const OUString &rCtrlName, } catch( const beans::UnknownPropertyException& ) { - OSL_FAIL( "UpdateHandler::setControlProperty: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "extensions.update", "UpdateHandler::setControlProperty" ); } } |