diff --git a/packages/backend/src/queue/processors/deliver.ts b/packages/backend/src/queue/processors/deliver.ts index f3a3add431..40b26033dc 100644 --- a/packages/backend/src/queue/processors/deliver.ts +++ b/packages/backend/src/queue/processors/deliver.ts @@ -22,12 +22,13 @@ let latest: string | null = null; export default async (job: Bull.Job) => { try { const testUrl = new URL(job.data.to); + logger.info(`TEST_VIVALDI Delivering nopuny ${testUrl}: ${testUrl}`); const testHost = toPuny(testUrl.host); - logger.info(`TEST_VIVALDI Delivering ${testUrl}: ${testHost}`); + logger.info(`TEST_VIVALDI Delivering puny ${testUrl}: ${testHost}`); } catch (e) { logger.error(`TEST_VIVALDI Couldn't deliver ${job.data.to}: ${e.message}`) } - const { host } = new URL(job.data.to); + const { host } = new URL(job.data.to) ?? 'social.vivaldi.net'; const puny = toPuny(host); if (await shouldSkipInstance(puny)) return "skip";