Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

chore(FileListWithViewer):removed-filename-from-log

Aswin Asok329105baead2
diff --git a/web/apps/photos/src/components/FileListWithViewer.tsx b/web/apps/photos/src/components/FileListWithViewer.tsx
index e45f05ffcf..e083f8d72d 100644
--- a/web/apps/photos/src/components/FileListWithViewer.tsx
+++ b/web/apps/photos/src/components/FileListWithViewer.tsx
@@ -476,9 +476,7 @@ const MapIcon = styled("img")<{ $isDarkMode: boolean }>(
const fileTimelineDateString = (file: EnteFile) => {
const date = fileCreationPhotoDate(file);
if (!Number.isFinite(date.getTime()))
- log.error(
- `Invalid file creation date for ${fileFileName(file)} (${file.id})`,
- );
+ log.error(`Invalid file creation date for ${file.id}`);
return isSameDay(date, new Date())
? t("today")
: isSameDay(date, new Date(Date.now() - 24 * 60 * 60 * 1000))