summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gvfs
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/gvfs')
-rw-r--r--ucb/source/ucp/gvfs/gvfs_content.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx b/ucb/source/ucp/gvfs/gvfs_content.cxx
index 61443d994e05..66d3db2ffdb5 100644
--- a/ucb/source/ucp/gvfs/gvfs_content.cxx
+++ b/ucb/source/ucp/gvfs/gvfs_content.cxx
@@ -1122,7 +1122,14 @@ Content::getInfo( const uno::Reference< ucb::XCommandEnvironment >& xEnv )
result = gnome_vfs_get_file_info
( aURI.getStr(), &m_info, GNOME_VFS_FILE_INFO_DEFAULT );
if (result != GNOME_VFS_OK)
+ {
+ SAL_WARN(
+ "ucb.ucp.gvfs",
+ "gnome_vfs_get_file_info for <" << aURI << "> failed with \""
+ << gnome_vfs_result_to_string(result) << "\" (" << +result
+ << ")");
gnome_vfs_file_info_clear( &m_info );
+ }
} else
result = GNOME_VFS_OK;
#if OSL_DEBUG_LEVEL > 1