diff --git a/.changeset/light-friends-pay.md b/.changeset/light-friends-pay.md new file mode 100644 index 0000000..9dac5fe --- /dev/null +++ b/.changeset/light-friends-pay.md @@ -0,0 +1,5 @@ +--- +"notion-to-utils": patch +--- + +error log modification diff --git a/packages/notion-to-utils/src/client/utils/getImageMetadata.ts b/packages/notion-to-utils/src/client/utils/getImageMetadata.ts index 4236e13..22a2584 100644 --- a/packages/notion-to-utils/src/client/utils/getImageMetadata.ts +++ b/packages/notion-to-utils/src/client/utils/getImageMetadata.ts @@ -18,7 +18,7 @@ async function getImageMetadata(url: string): Promise<{ aspectRatio: result.height > 0 ? result.width / result.height : 1, }; } catch (error) { - console.error('이미지 메타데이터 추출 실패:', error); + console.error('이미지 메타데이터 추출 실패:', url, error); return null; } }