Log the entire job
This commit is contained in:
parent
3fe46dc6f9
commit
075ef803f5
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue