summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/controlmodelcontainerbase.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-01 14:42:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-07 07:12:39 +0100
commit8b5e23eac31cafbd442a3acab5fbcf98bfd0af11 (patch)
treed41feeea533127280e0503d0dc2dd55a4ab83ce8 /toolkit/source/controls/controlmodelcontainerbase.cxx
parent4f810905fa74128871f2fe924a3d28a79f4e4261 (diff)
log nice exception messages whereever possible
Change-Id: Idd125c18bee1a39b9ea8cc4f8c55cddfd37c33e1 Reviewed-on: https://gerrit.libreoffice.org/68579 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/controls/controlmodelcontainerbase.cxx')
-rw-r--r--toolkit/source/controls/controlmodelcontainerbase.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index 80a526d3ae20..324d456e37b0 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -97,7 +97,8 @@ struct DisposeControlModel
}
catch (const Exception&)
{
- SAL_WARN("toolkit", "caught an exception while disposing a component!" );
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN("toolkit", "caught an exception while disposing a component! " << exceptionToString(ex) );
}
}
};
@@ -816,7 +817,8 @@ namespace
}
catch (const Exception&)
{
- SAL_WARN("toolkit", "caught an exception while determining the dialog page!" );
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN("toolkit", "caught an exception while determining the dialog page! " << exceptionToString(ex) );
}
return nStep;
}