summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-05 17:33:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-06 10:58:37 +0100
commit6fe261ea098c0e59c19307380de2b2c1d51895cc (patch)
treeeb6c28a993dd5473cd803f5412a9aa5b4e6c5479
parent8ff280afde005717dee77031d314514f74e9b760 (diff)
Log swallowed exception
Change-Id: I6797600b5a661b478c4d9f4e0ad837f961d1fc5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88046 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--connectivity/source/commontools/CommonTools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index a2aeb06af173..5c84bf6e6f18 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -29,6 +29,7 @@
#include <osl/diagnose.h>
#include <rtl/character.hxx>
#include <rtl/process.h>
+#include <tools/diagnose_ex.h>
using namespace ::comphelper;
static sal_Unicode rtl_ascii_toUpperCase( sal_Unicode ch )
@@ -134,6 +135,7 @@ namespace connectivity
}
catch (Exception&)
{
+ TOOLS_WARN_EXCEPTION("connectivity.commontools", "getJavaVM failed:");
}
return aRet;