From 7a31740e20d480fc095efb4ead17b23683648030 Mon Sep 17 00:00:00 2001 From: Cleo Date: Thu, 30 Mar 2023 09:30:38 +0000 Subject: [PATCH] remove debug msgs --- packages/backend/src/queue/processors/db/import-posts.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/backend/src/queue/processors/db/import-posts.ts b/packages/backend/src/queue/processors/db/import-posts.ts index e9e781c43..3bfb3acca 100644 --- a/packages/backend/src/queue/processors/db/import-posts.ts +++ b/packages/backend/src/queue/processors/db/import-posts.ts @@ -44,15 +44,12 @@ export async function importPosts( try { linenum++; if (post.replyId != null) { - logger.info(`Is reply, skip [${linenum}] ...`); continue; } if (post.renoteId != null) { - logger.info(`Is boost, skip [${linenum}] ...`); continue; } if (post.visibility !== "public") { - logger.info(`Is non-public, skip [${linenum}] ...`); continue; } const { text, cw, localOnly, createdAt } = Post.parse(post); @@ -85,18 +82,15 @@ export async function importPosts( try { linenum++; if (post.object.inReplyTo != null) { - logger.info(`Is reply, skip [${linenum}] ...`); continue; } if (post.directMessage) { - logger.info(`Is dm, skip [${linenum}] ...`); continue; } let text; try { text = htmlToMfm(post.object.content, post.object.tag); } catch (e) { - logger.warn(`Error while parsing text in line ${linenum}: ${e}`); continue; } logger.info(`Posting[${linenum}] ...`);