summaryrefslogtreecommitdiff
path: root/forms/source/runtime
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2019-12-26 09:22:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-26 19:08:42 +0100
commitdf773dc769f6a0d676673ac9b5fc0e8132e435e6 (patch)
treefe744b9d76e5f26282409fbe3b117e24659de7c0 /forms/source/runtime
parent32b9d07baa0cf6907f14ccb9aa068b51d95eefaa (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 'forms/source/runtime')
-rw-r--r--forms/source/runtime/formoperations.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx
index 7112a46b118f..1d89e1e2958e 100644
--- a/forms/source/runtime/formoperations.cxx
+++ b/forms/source/runtime/formoperations.cxx
@@ -380,7 +380,7 @@ namespace frm
}
catch( const Exception& )
{
- OSL_FAIL( "FormOperations::getState: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "forms.runtime", "FormOperations::getState" );
}
return aState;
@@ -1249,7 +1249,7 @@ namespace frm
}
catch( const Exception& )
{
- OSL_FAIL( "FormOperations::impl_ensureInitializedParser_nothrow: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "forms.runtime", "FormOperations::impl_ensureInitializedParser_nothrow" );
}
m_bInitializedParser = true;
@@ -1279,7 +1279,7 @@ namespace frm
}
catch( const Exception& )
{
- OSL_FAIL( "FormOperations::impl_disposeParser_nothrow: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "forms.runtime", "FormOperations::impl_disposeParser_nothrow" );
}
}