achatzi
101
1
Laravel

Extra data in Failed Jobs table

Posted 11 months ago by achatzi

Hello everyone.

I have an api that accepts orders and adds them to a queue in order to be transferred to our ERP system (it uses COM objects and it takes a long time, so queues was the best way to go).

When the job fails, it gets transferred to the failed jobs table. My question is if there is a way to add extra data in the failed jobs table, ex the order id. I would like to have a json column in the failed jobs table and add data there.

Is that possible?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.