π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
improve logging
Abhinav05d130893c93
diff --git a/apps/photos/src/components/Upload/Uploader.tsx b/apps/photos/src/components/Upload/Uploader.tsxindex ed078551e1..0387522d6f 100644--- a/apps/photos/src/components/Upload/Uploader.tsx+++ b/apps/photos/src/components/Upload/Uploader.tsx@@ -391,7 +391,7 @@ export default function Uploader(props: Props) {) => {try {addLogLine(- `upload file to an existing collection - "${collection.name}"`+ `upload file to an existing collection name:${collection.name}, collectionID:${collection.id}`);await preCollectionCreationAction();const filesWithCollectionToUpload: FileWithCollection[] =diff --git a/apps/photos/src/utils/collection/index.ts b/apps/photos/src/utils/collection/index.tsindex 6afae355cd..2737a41d84 100644--- a/apps/photos/src/utils/collection/index.ts+++ b/apps/photos/src/utils/collection/index.ts@@ -52,6 +52,7 @@ import {} from 'utils/export';import exportService from 'services/export';import { CollectionDownloadProgressAttributes } from 'components/Collections/CollectionDownloadProgress';+import { addLogLine } from '@ente/shared/logging';export enum COLLECTION_OPS_TYPE {ADD,@@ -611,8 +612,13 @@ export const getOrCreateAlbum = async (}for (const collection of existingCollections) {if (isValidReplacementAlbum(collection, user, albumName)) {+ addLogLine(+ `Found existing album ${albumName} with id ${collection.id}`+ );return collection;}}- return createAlbum(albumName);+ const album = await createAlbum(albumName);+ addLogLine(`Created new album ${albumName} with id ${album.id}`);+ return album;};