diff --git a/packages/backend/src/queue/processors/deliver.ts b/packages/backend/src/queue/processors/deliver.ts index bd48cceca8..17d38450ff 100644 --- a/packages/backend/src/queue/processors/deliver.ts +++ b/packages/backend/src/queue/processors/deliver.ts @@ -20,8 +20,9 @@ export default async (job: Bull.Job) => { try { host = new URL(job.data.to).host; } catch (e) { + logger.error(`${e}`); logger.error(`Failed URL parse: ${job}`); - return "skip"; + return null; } const puny = toPuny(host);