Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

add more info to thumbnail_too_large logs #1039

Merged
merged 1 commit into from
Apr 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/services/upload/thumbnailService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export async function generateThumbnail(
thumbnailSize: convertBytesToHumanReadable(
thumbnail.length
),
fileSize: convertBytesToHumanReadable(file.size),
fileType: fileTypeInfo.exactType,
}
);
}
Expand Down