desktop/source/lib/init.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d671bceed0ba7195eae1e063d4a363074f8483a0
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Sun Jul 28 07:18:40 2024 +0200
Commit:     Aron Budea <aron.bu...@collabora.com>
CommitDate: Tue Jul 30 01:54:45 2024 +0200

    LOK: Mention name of unknown command in exception
    
    Change-Id: I665c9aebaa4e215b8bc4622f3e245e5f2c47deab
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171133
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    (cherry picked from commit 8fe4ca79d4b3cc2a62c59b7dfd2849b7a79d9437)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171196
    Tested-by: Jenkins
    Reviewed-by: Aron Budea <aron.bu...@collabora.com>

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 4fab9477f330..aee74ec28d73 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6762,7 +6762,7 @@ static char* doc_getCommandValues(LibreOfficeKitDocument* 
pThis, const char* pCo
     }
     else
     {
-        SetLastExceptionMsg(u"Unknown command, no values returned"_ustr);
+        SetLastExceptionMsg(OUString::fromUtf8(aCommand) + u" : Unknown 
command, no values returned"_ustr);
         return nullptr;
     }
 }

Reply via email to