mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
change wording
This commit is contained in:
parent
48133e4646
commit
07061712a2
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue