s3: format errors with .Code

This commit is contained in:
Girish Ramakrishnan
2025-07-14 15:45:33 +02:00
parent 6b839c8cdc
commit 15ac81c1cd
2 changed files with 13 additions and 9 deletions

View File

@@ -196,7 +196,7 @@ async function downloadDir(backupConfig, backupFilePath, dataLayout, progressCal
assert(dataLayout instanceof DataLayout, 'dataLayout must be a DataLayout');
assert.strictEqual(typeof progressCallback, 'function');
debug(`downloadDir: ${backupFilePath} to ${dataLayout.toString()}. encryption filenames: ${backupConfig.encryptedFilenames} content: ${backupConfig.encryption}`);
debug(`downloadDir: ${backupFilePath} to ${dataLayout.toString()}. encryption filenames: ${backupConfig.encryptedFilenames} content: ${!!backupConfig.encryption}`);
async function downloadFile(entry) {
let relativePath = path.relative(backupFilePath, entry.fullPath);