summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2023-03-08 13:01:39 +0200
committerTor Lillqvist <tml@collabora.com>2023-03-08 12:22:48 +0000
commitbcf0f2b6d87f6be18c417e3537f5cf9b320c4348 (patch)
tree49625dc413c2862870f6882f7418fa28c9033a58 /desktop
parent366812f72f73c12e5be83d27409272769e9337f2 (diff)
Make error message more useful
Change-Id: I3c6efcbd2a2759385912aa352d0c250963e5f004 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148464 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}
}