diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-04-30 21:48:06 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-02 23:04:54 +0200 |
commit | b82e0fed4b21b06e11aa5f8413710676ce7111e4 (patch) | |
tree | 56fa7f67c9a31b6a7a3d82b9f2377a2fcd44fd39 /vcl | |
parent | 0ef94e2b559547bc4e906e7f24e57ff5d642e108 (diff) |
log exception that results in crash for crashreporter
Change-Id: I05bb38f9c440c26bfaa1d37ef67e5aab13d7a4d2
Reviewed-on: https://gerrit.libreoffice.org/37174
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index a65919836d21..83d61fbbad93 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -42,6 +42,7 @@ #include <svids.hrc> #include <window.h> #include <xmlreader/xmlreader.hxx> +#include <desktop/crashreport.hxx> #ifdef DISABLE_DYNLOADING #include <dlfcn.h> @@ -214,6 +215,7 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr catch (const css::uno::Exception &rExcept) { SAL_WARN("vcl.layout", "Unable to read .ui file: " << rExcept.Message); + CrashReporter::AddKeyValue("VclBuilderException", "Unable to read .ui file: " + rExcept.Message); throw; } |