summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;