imTigger / laravel-job-status

Add ability to track Job progress, status and result dispatched to Queue.
MIT License
407 stars 60 forks source link

Job result design question #45

Closed BasvanH closed 4 years ago

BasvanH commented 4 years ago

Hello,

I'm searching for the best approach to fill the job result with errors encountered during job execution. I have large loop which executes all kind of stuff in various classes. Some methods are very deep, so back-porting all result back all the way back to the job loop is hard to do. Perhaps I can fill the job result with an custom exception?

Any help is much appreciated.

Thanks, Bastiaan

BasvanH commented 4 years ago

I've created a custom method to store the in flight status to the 'output' column. See #48 .