Answer the question
In order to leave comments, you need to log in
How to get error information while executing laravel queue?
Queues are started via supervisor.
If an error occurs in the failed method, a notification is sent to the mail.
I did not understand how to get error information from this method.
Who faced the issue of logging / error notification in the queue?
laravel version 5.2.
Answer the question
In order to leave comments, you need to log in
Updated to version 5.4.
Exception information is passed to the failed method in the Job. Then I send it to the mail. After some time, an error was found due to which the script execution stopped.
https://laravel.com/docs/5.4/queues#dealing-with-f...
// Send user notification of failure, etc...
add a method and send anything, any way, anywhere.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question