Catch an error while importing huge CSV in queue using laravel excel #3459
Unanswered
shashankdevstree
asked this question in
Q&A
Replies: 0 comments
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.
I just wanted to add those errors in a file and email to user.
Please help if you have any ideas! Thanks! @patrickbrouwers
Beta Was this translation helpful? Give feedback.
All reactions