summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gvfs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-20 17:58:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-20 17:58:44 +0200
commit2d2337eb74161f9aab9bc3cf50fa63975d9c1731 (patch)
tree2321e843c678aa340b7eaf9860e247a6d5d20b38 /ucb/source/ucp/gvfs
parent5be1f5234b46a89a7660a9cfe3deaa00e2aa124b (diff)
Improve some debug output
Change-Id: I1008822ba8592ea43f87805bf00adbfdaf4f02fc
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