editeng/source/misc/acorrcfg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit cc0c61e728442ff90c808ad9060ee48a574396c8
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Dec 29 13:50:00 2022 +0200
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Thu Feb 29 20:47:41 2024 +0100

    Make two TOOLS_WARN_EXCEPTION messages a bit more informative
    
    Change-Id: I614f44cfb94a214baace420f94f18991f368b953
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144859
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <t...@collabora.com>
    (cherry picked from commit 3998ccfe14dab2e0a9b31cebe08534aa41177ce5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164168
    Reviewed-by: Neil Guertin <neil.guer...@collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index be4cc90e3680..db9ec117f025 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -96,7 +96,7 @@ static void scanAutoCorrectDirForLanguageTags( const 
OUString& rURL )
                     }
                     catch (const uno::Exception&)
                     {
-                        TOOLS_WARN_EXCEPTION("editeng", "Unable to get 
directory entry.");
+                        TOOLS_WARN_EXCEPTION("editeng", "Unable to get a 
directory entry from '" << rURL << "'");
                     }
                 }
             }
@@ -104,7 +104,7 @@ static void scanAutoCorrectDirForLanguageTags( const 
OUString& rURL )
     }
     catch (const uno::Exception&)
     {
-        TOOLS_WARN_EXCEPTION("editeng", "Unable to iterate directory.");
+        TOOLS_WARN_EXCEPTION("editeng", "Unable to iterate directory '" << 
rURL << "'");
     }
 }
 

Reply via email to