From 9ce008c149248c957e56f2257431aaec523985bb Mon Sep 17 00:00:00 2001 From: Virgile <78490891+V-Gira@users.noreply.github.com> Date: Mon, 13 Jan 2025 12:45:33 +0100 Subject: [PATCH] runfix: do not pass files to debug logs after validating metadata [WPB-15317] (#18580) --- src/script/backup/LegacyBackup.helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/backup/LegacyBackup.helper.ts b/src/script/backup/LegacyBackup.helper.ts index d2356e08ee1..fc3610db040 100644 --- a/src/script/backup/LegacyBackup.helper.ts +++ b/src/script/backup/LegacyBackup.helper.ts @@ -70,7 +70,7 @@ const verifyMetadata = async ({backupService, fileData, user}: VerifyMetaDataPar const metaData = new TextDecoder().decode(rawData); const parsedMetaData = JSON.parse(metaData); const archiveVersion = _verifyMetadata(user, parsedMetaData); - logger.debug('Validated metadata during history import', fileData); + logger.debug('Validated metadata during history import'); return archiveVersion; };