summaryrefslogtreecommitdiff
path: root/lib/backupclient
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-04-23 10:13:14 +0000
committerChris Wilson <chris+github@qwirx.com>2011-04-23 10:13:14 +0000
commit3a858bb565adccf43905a604459bf532e68b17f8 (patch)
tree70dca76f3e1581f92dcbc459a30008dce4e60623 /lib/backupclient
parent372e88d1ebdb946c2a3510ebc7cbb2d4735d0a71 (diff)
Log the name of the extended attribute that could not be read.
Diffstat (limited to 'lib/backupclient')
-rw-r--r--lib/backupclient/BackupClientFileAttributes.cpp10
1 files changed, 6 insertions, 4 deletions
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;