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

New commits:
commit 3998ccfe14dab2e0a9b31cebe08534aa41177ce5
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Dec 29 13:50:00 2022 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Dec 29 13:27:03 2022 +0000

    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>

diff --git a/editeng/source/misc/acorrcfg.cxx b/editeng/source/misc/acorrcfg.cxx
index 53a43cff3f22..787663a96f22 100644
--- a/editeng/source/misc/acorrcfg.cxx
+++ b/editeng/source/misc/acorrcfg.cxx
@@ -97,7 +97,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 << "'");
                     }
                 }
             }
@@ -105,7 +105,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