have use Illuminate\Contracts\Queue\ShouldQueue; and catch errors and dump in file or via email #3457
Unanswered
shashankdevstree
asked this question in
Q&A
Replies: 1 comment
-
did you find any solution for this problem ?? i have the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
ShouldQueue
method to have the large CSV into Queue but the errors of validations I am not able to catch them!My code looks like below
I am in hope that if there is any error validation_error.txt file will have "Demo" inside it.
Also, I have crossed verify by removing
ShouldQueue
it gives me proper errors for email already exists a kind of.https://stackoverflow.com/questions/70226113/catch-an-error-while-importing-huge-csv-in-queue-using-laravel-excel
@patrickbrouwers Please help
Beta Was this translation helpful? Give feedback.
All reactions