summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2020-04-22 01:10:13 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-04-22 01:10:13 +0200
commit63e2f183336babb5956730e5a9b0684951afdfa4 (patch)
tree820aa975fa1eb5e2eb8cb031011703ccf902b0fe /desktop
parent0389fc2ba00ae863e974bba3e9bb0b3efa08f8bc (diff)
Get local, no-upload crash dumps working again
With this, CrashDumpEnable=true and CrashDumpUrl missing will create local dmp files, but never upload/present GUI for it. Change-Id: I0bae48a0accace01dc8507cccb2a7b02a4de61a0
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/crashreport.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx
index c90a584a4163..c121b4fb8069 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -119,7 +119,10 @@ void CrashReporter::writeCommonInfo()
rtl::Bootstrap::get("CrashDumpUrl", url);
if (url.isEmpty())
{
- // no url in config, bail out
+ // no url in config, bail out, but still set proper crash
+ // directory for local dump generation (incase CrashDumpEnable
+ // is on
+ updateMinidumpLocation();
mbInit = false;
return;
}