include/systools/curlinit.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 4b007c890995d143cb8916db8b23773d6935e3fc Author: Michael Stahl <[email protected]> AuthorDate: Thu Jan 8 16:42:27 2026 +0100 Commit: Michael Stahl <[email protected]> CommitDate: Fri Jan 9 10:28:46 2026 +0100 ucb: webdav-curl: print SAL_WARN if no CA certificates are found Apparently nothing prints the exception message, so make sure this config issue is visible in logs. Change-Id: Idfb18e2fe42aa7bdcc1c8029833657bb8269b980 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196860 Reviewed-by: Stephan Bergmann <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/include/systools/curlinit.hxx b/include/systools/curlinit.hxx index 7d842a8e4c01..281e8b9a1b1e 100644 --- a/include/systools/curlinit.hxx +++ b/include/systools/curlinit.hxx @@ -35,9 +35,8 @@ static void InitCurl_easy(CURL* const pCURL) char const* const path = GetCABundleFile(); if (path == nullptr) { -#if defined EMSCRIPTEN SAL_WARN("ucb.ucp.webdav.curl", "no OpenSSL CA certificate bundle found"); -#else +#if !defined(EMSCRIPTEN) throw css::uno::RuntimeException(u"no OpenSSL CA certificate bundle found"_ustr); #endif }
