summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index b3db1c609436..5cb6720dec53 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -538,9 +538,10 @@ uno::Reference< io::XInputStream > SAL_CALL ZipPackageStream::getInputStream()
OSL_FAIL( "ZipException thrown" );//rException.Message);
return uno::Reference < io::XInputStream > ();
}
- catch ( Exception & )
+ catch ( Exception &ex )
{
OSL_FAIL( "Exception is thrown during stream wrapping!\n" );
+ OSL_FAIL(OUStringToOString(ex.Message, RTL_TEXTENCODING_UTF8).getStr());
return uno::Reference < io::XInputStream > ();
}
}