summaryrefslogtreecommitdiff
path: root/framework/source/jobs/job.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-15 13:11:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-16 08:55:07 +0200
commit7508c1d1e701dba8cb67414be59193d9672b66ab (patch)
tree5f37eecd6486a223f26b882ca8697fb9afecb9cc /framework/source/jobs/job.cxx
parentcf4059d59752de6e9a6eca59b388beef27bcd7e6 (diff)
loplugin:logexceptionnicely in filter..framework
Change-Id: I8cf70ee278c641767e3fcfcfd151d99d791b3468 Reviewed-on: https://gerrit.libreoffice.org/74098 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/jobs/job.cxx')
-rw-r--r--framework/source/jobs/job.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index e693c6eff38b..89347a6200ff 100644
--- a/framework/source/jobs/job.cxx
+++ b/framework/source/jobs/job.cxx
@@ -33,6 +33,7 @@
#include <comphelper/sequence.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <vcl/svapp.hxx>
namespace framework{
@@ -214,9 +215,9 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
}
}
#if OSL_DEBUG_LEVEL > 0
- catch(const css::uno::Exception& ex)
+ catch(const css::uno::Exception&)
{
- SAL_INFO("fwk", "Job::execute(): Got exception during job execution. Original Message was: \"" << ex << "\"");
+ TOOLS_INFO_EXCEPTION("fwk", "Job::execute(): Got exception during job execution");
}
#else
catch(const css::uno::Exception&)