From 3a858bb565adccf43905a604459bf532e68b17f8 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 23 Apr 2011 10:13:14 +0000 Subject: Log the name of the extended attribute that could not be read. --- lib/backupclient/BackupClientFileAttributes.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/backupclient') diff --git a/lib/backupclient/BackupClientFileAttributes.cpp b/lib/backupclient/BackupClientFileAttributes.cpp index b25ed9c7..0d7df4d7 100644 --- a/lib/backupclient/BackupClientFileAttributes.cpp +++ b/lib/backupclient/BackupClientFileAttributes.cpp @@ -582,8 +582,9 @@ void BackupClientFileAttributes::FillExtendedAttr(StreamableMemBlock &outputBloc if(valueSize<0) { BOX_LOG_SYS_ERROR("Failed to get " - "extended attributes size " - "for '" << Filename << "'"); + "extended attribute size of " + "'" << Filename << "': " << + attrKey); THROW_EXCEPTION(CommonException, OSFileError); } @@ -600,8 +601,9 @@ void BackupClientFileAttributes::FillExtendedAttr(StreamableMemBlock &outputBloc if(valueSize<0) { BOX_LOG_SYS_ERROR("Failed to get " - "extended attributes for " - "'" << Filename << "'"); + "extended attribute of " + "'" << Filename << "': " << + attrKey); THROW_EXCEPTION(CommonException, OSFileError); } xattrSize += valueSize; -- cgit v1.2.3