Kaydet (Commit) b82e0fed authored tarafından Markus Mohrhard's avatar Markus Mohrhard

log exception that results in crash for crashreporter

Change-Id: I05bb38f9c440c26bfaa1d37ef67e5aab13d7a4d2
Reviewed-on: https://gerrit.libreoffice.org/37174Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 0ef94e2b
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include <svids.hrc> #include <svids.hrc>
#include <window.h> #include <window.h>
#include <xmlreader/xmlreader.hxx> #include <xmlreader/xmlreader.hxx>
#include <desktop/crashreport.hxx>
#ifdef DISABLE_DYNLOADING #ifdef DISABLE_DYNLOADING
#include <dlfcn.h> #include <dlfcn.h>
...@@ -214,6 +215,7 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr ...@@ -214,6 +215,7 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr
catch (const css::uno::Exception &rExcept) catch (const css::uno::Exception &rExcept)
{ {
SAL_WARN("vcl.layout", "Unable to read .ui file: " << rExcept.Message); SAL_WARN("vcl.layout", "Unable to read .ui file: " << rExcept.Message);
CrashReporter::AddKeyValue("VclBuilderException", "Unable to read .ui file: " + rExcept.Message);
throw; throw;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment