π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[desktop] Add some temporary debug traces
Manav Rathi2bc1c90637a5
diff --git a/web/apps/photos/src/services/export/index.ts b/web/apps/photos/src/services/export/index.tsindex 76b0c287c7..dbacf06762 100644--- a/web/apps/photos/src/services/export/index.ts+++ b/web/apps/photos/src/services/export/index.ts@@ -1264,17 +1264,31 @@ const readOnDiskFileExportRecordIDs = async (const fileExportNames = exportRecord.fileExportNames ?? {};+ const ls2 = new Array([...ls].slice(0, 100));+ log.info(JSON.stringify({ exportDir, ls: ls2, fileExportNames }));+for (const file of files) {if (isCanceled.status) throw Error(CustomError.EXPORT_STOPPED);const collectionExportName = collectionIDFolderNameMap.get(file.collectionID,);+ log.info(+ JSON.stringify({ cid: file.collectionID, collectionExportName }),+ );if (!collectionExportName) continue;const collectionExportPath = `${exportDir}/${collectionExportName}`;const recordID = getExportRecordFileUID(file);const exportName = fileExportNames[recordID];+ log.info(+ JSON.stringify({+ exportName,+ constructed: `${collectionExportPath}/${exportName}`,+ has: ls.has(`${collectionExportPath}/${exportName}`),+ }),+ );+if (!exportName) continue;if (ls.has(`${collectionExportPath}/${exportName}`)) {