summaryrefslogtreecommitdiff
path: root/lib/backupstore
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backupstore')
-rw-r--r--lib/backupstore/BackupClientFileAttributes.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/backupstore/BackupClientFileAttributes.cpp b/lib/backupstore/BackupClientFileAttributes.cpp
index 372f9e32..75d961c4 100644
--- a/lib/backupstore/BackupClientFileAttributes.cpp
+++ b/lib/backupstore/BackupClientFileAttributes.cpp
@@ -375,9 +375,8 @@ void BackupClientFileAttributes::ReadAttributes(const char *Filename,
EMU_STRUCT_STAT st;
if(EMU_LSTAT(Filename, &st) != 0)
{
- BOX_LOG_SYS_ERROR("Failed to stat file: '" <<
- Filename << "'");
- THROW_EXCEPTION(CommonException, OSFileError)
+ THROW_SYS_FILE_ERROR("Failed to stat file",
+ Filename, CommonException, OSFileError)
}
// Modification times etc