summaryrefslogtreecommitdiff
path: root/connectivity/source/sdbcx/VIndex.cxx
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 /connectivity/source/sdbcx/VIndex.cxx
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 'connectivity/source/sdbcx/VIndex.cxx')
-rw-r--r--connectivity/source/sdbcx/VIndex.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx
index 4939bb702085..6ea44120307e 100644
--- a/connectivity/source/sdbcx/VIndex.cxx
+++ b/connectivity/source/sdbcx/VIndex.cxx
@@ -26,6 +26,7 @@
#include <connectivity/sdbcx/VCollection.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <TConnection.hxx>
+#include <tools/diagnose_ex.h>
using namespace ::connectivity;
using namespace ::dbtools;
@@ -152,7 +153,7 @@ Reference< css::container::XNameAccess > SAL_CALL OIndex::getColumns( )
}
catch( const Exception& )
{
- OSL_FAIL( "OIndex::getColumns: caught an exception!" );
+ TOOLS_WARN_EXCEPTION( "connectivity.commontools", "OIndex::getColumns" );
}
return m_pColumns.get();