Log the entire job

This commit is contained in:
Natty 2024-01-08 02:42:15 +01:00
parent 3fe46dc6f9
commit 075ef803f5
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export default async (job: Bull.Job<DeliverJobData>) => {
try {
host = new URL(job.data.to).host;
} catch (e) {
logger.error(`Failed URL parse: ${JSON.stringify(job.data)}`);
logger.error(`Failed URL parse: ${job}`);
return "skip";
}