desktop/source/app/crashreport.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit c36efb1c300db425b425a8c6aa89335003c58989
Author:     Thorsten Behrens <[email protected]>
AuthorDate: Wed Apr 22 01:10:13 2020 +0200
Commit:     Balazs Varga <[email protected]>
CommitDate: Thu Oct 17 11:39:42 2024 +0200

    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
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156491
    Reviewed-by: Gabor Kelemen <[email protected]>
    Tested-by: Thorsten Behrens <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175005
    Tested-by: Balazs Varga <[email protected]>
    Reviewed-by: Balazs Varga <[email protected]>

diff --git a/desktop/source/app/crashreport.cxx 
b/desktop/source/app/crashreport.cxx
index c4419dd3630f..fd916825eadb 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -143,7 +143,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;
     }

Reply via email to