From 35f09d00674ea742cfa833e6dd0ba81b4726ab76 Mon Sep 17 00:00:00 2001 From: CGsama Date: Sun, 16 Jul 2023 03:24:37 -0400 Subject: [PATCH] change wording --- packages/backend/src/queue/processors/db/import-posts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/queue/processors/db/import-posts.ts b/packages/backend/src/queue/processors/db/import-posts.ts index 54061f8bf9..0c5280ae1c 100644 --- a/packages/backend/src/queue/processors/db/import-posts.ts +++ b/packages/backend/src/queue/processors/db/import-posts.ts @@ -33,16 +33,16 @@ export async function importPosts( if (file.name.endsWith("tar.gz")) { try { - logger.info("Parsing animal style posts in package"); + logger.info("Reading Mastodon archive"); const outbox = await processMastoNotes(file.url, job.data.user.id); for (const post of outbox.orderedItems) { createImportMastoPostJob(job.data.user, post, job.data.signatureCheck); } } catch (e) { // handle error - logger.warn(`Error reading: ${e}`); + logger.warn(`Failed reading Mastodon archive: ${e}`); } - logger.succ("Imported"); + logger.succ("Mastodon archive imported"); done(); return; }