Kaydet (Commit) e3ac5ac2 authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Matúš Kukan

tubes: more helpful exception printing on file load failure

üst 98411a76
......@@ -327,9 +327,10 @@ IMPL_LINK( ScDocFuncRecv, ReceiveFileCallback, rtl::OUString *, pStr )
rDocShell.GetBaseModel(), css::uno::UNO_QUERY_THROW );
xLoad->load( aLoadArgs );
}
catch ( css::uno::Exception& )
catch ( css::uno::Exception& e )
{
fprintf( stderr, "exception when loading !\n" );
fprintf( stderr, "exception when loading '%s' !\n",
rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment