From 47e38fb11f9d6e76aefbee75eaf25e4344d03a20 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 12 Feb 2012 14:29:55 +0100 Subject: If we can have a few more information... --- package/source/zippackage/ZipPackageStream.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package') 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 > (); } } -- cgit