diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-08-13 14:01:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-13 20:31:37 +0200 |
commit | 92a9411040410a16532177d5dde8ca8968bcc12b (patch) | |
tree | 88ec6756e4004d41ac772230797cf40dbb9b1a77 /sd/source | |
parent | 3f72879a8e54e18f3ad587f7284b84db592c8d1a (diff) |
log details of exception when we catch std::exception
Change-Id: Ibfaba3473b11e24381d5a71a722c021ecde3488b
Reviewed-on: https://gerrit.libreoffice.org/41112
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/sidebar/DocumentHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx index da1699ae53fc..16b664a6754e 100644 --- a/sd/source/ui/sidebar/DocumentHelper.cxx +++ b/sd/source/ui/sidebar/DocumentHelper.cxx @@ -232,10 +232,10 @@ SdPage* DocumentHelper::AddMasterPage ( pClonedMasterPage = nullptr; DBG_UNHANDLED_EXCEPTION(); } - catch(const ::std::exception&) + catch(const ::std::exception& e) { pClonedMasterPage = nullptr; - SAL_WARN("sd", "caught general exception"); + SAL_WARN("sd", "caught general exception " << e.what()); } catch(...) { |