desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8fe4ca79d4b3cc2a62c59b7dfd2849b7a79d9437 Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Sun Jul 28 07:18:40 2024 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Jul 29 17:57:31 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> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 54ff08f36c07..c0151e79b397 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -6805,7 +6805,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; } }