diff --git a/app/attachments.node.ts b/app/attachments.node.ts index b8795910e1..2be51fd998 100644 --- a/app/attachments.node.ts +++ b/app/attachments.node.ts @@ -267,7 +267,9 @@ export const deleteAllMegaphones = async ({ } } - log.error(`deleteAllMegaphones: deleted ${filesDeleted} files`); + if (filesDeleted > 0) { + log.error(`deleteAllMegaphones: deleted ${filesDeleted} files`); + } }; export const deleteAllDraftAttachments = async ({