summaryrefslogtreecommitdiff
path: root/desktop/source/offacc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 15:29:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-15 12:25:22 +0200
commit1b75f95f9bfa2f4f5ddd4c6b2ef6c86576d9c92b (patch)
tree079370ffe1f419d32d750b17956224ee0306b96b /desktop/source/offacc
parentec87e11f0e4bb6f53eb0c5d2575f590aea95269f (diff)
loplugin:logexceptionnicely in desktop
Change-Id: I19f70b0e9d1ca2bbcd2595af24f2e15766d14b33 Reviewed-on: https://gerrit.libreoffice.org/74046 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/offacc')
-rw-r--r--desktop/source/offacc/acceptor.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx
index 26fcab414c4c..9c7991a9df44 100644
--- a/desktop/source/offacc/acceptor.cxx
+++ b/desktop/source/offacc/acceptor.cxx
@@ -28,6 +28,7 @@
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
using namespace css::bridge;
using namespace css::connection;
@@ -121,8 +122,8 @@ void Acceptor::run()
"", m_aProtocol, rConnection, rInstanceProvider);
osl::MutexGuard g(m_aMutex);
m_bridges.add(rBridge);
- } catch (const Exception& e) {
- SAL_WARN("desktop.offacc", "caught " << e);
+ } catch (const Exception&) {
+ TOOLS_WARN_EXCEPTION("desktop.offacc", "");
// connection failed...
// something went wrong during connection setup.
// just wait for a new connection to accept