Browse Source

Better log

Manav Rathi 1 năm trước cách đây
mục cha
commit
9bddd741a5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      web/apps/photos/src/utils/file/index.ts

+ 1 - 1
web/apps/photos/src/utils/file/index.ts

@@ -282,7 +282,7 @@ export const getRenderableImage = async (fileName: string, imageBlob: Blob) => {
     try {
         const tempFile = new File([imageBlob], fileName);
         fileTypeInfo = await getFileType(tempFile);
-        log.debug(() => `file type info: ${JSON.stringify(fileTypeInfo)}`);
+        log.debug(() => `Obtaining renderable image for ${JSON.stringify(fileTypeInfo)}`);
         const { exactType } = fileTypeInfo;
 
         if (!isRawFile(exactType)) {