package/source/xstor/xfactory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 46a662ea56db5b466b15004a6e68148561d4a649 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Jun 2 12:00:59 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Jun 2 13:32:08 2021 +0200 improve exception message Change-Id: I8ce4e6afff2dd7b029c7e557739a3c3e0b361c98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116578 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx index 192acb7fbeca..f369acca6fd2 100644 --- a/package/source/xstor/xfactory.cxx +++ b/package/source/xstor/xfactory.cxx @@ -239,7 +239,7 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr } if ( !CheckPackageSignature_Impl( xInputStream, xSeekable ) ) - throw io::IOException(); // TODO: this is not a package file + throw io::IOException("package signature check failed, probably not a package file", nullptr); // TODO: this is not a package file return static_cast<OWeakObject*>( new OStorage(xInputStream, nStorageMode, aPropsToSet, m_xContext, nStorageType)); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits