diff --git a/packages/backend/src/queue/processors/deliver.ts b/packages/backend/src/queue/processors/deliver.ts index 65471a559f..f3a3add431 100644 --- a/packages/backend/src/queue/processors/deliver.ts +++ b/packages/backend/src/queue/processors/deliver.ts @@ -20,6 +20,13 @@ const logger = new Logger("deliver"); let latest: string | null = null; export default async (job: Bull.Job) => { + try { + const testUrl = new URL(job.data.to); + const testHost = toPuny(testUrl.host); + logger.info(`TEST_VIVALDI Delivering ${testUrl}: ${testHost}`); + } catch (e) { + logger.error(`TEST_VIVALDI Couldn't deliver ${job.data.to}: ${e.message}`) + } const { host } = new URL(job.data.to); const puny = toPuny(host);