desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bcf0f2b6d87f6be18c417e3537f5cf9b320c4348 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Wed Mar 8 13:01:39 2023 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Wed Mar 8 12:22:48 2023 +0000 Make error message more useful Change-Id: I3c6efcbd2a2759385912aa352d0c250963e5f004 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148464 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index ee1f47a8ea96..54ffbac8e322 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3213,7 +3213,7 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha } else { - SetLastExceptionMsg("input filename without a suffix"); + SetLastExceptionMsg("input URL '" + aURL + "' lacks a suffix"); return false; } }