#Bus::batch with a ->finally() callback is throwing error, but fine without.

2 messages · Page 1 of 1 (latest)

rugged ether
#

For a little extra context: the job that's firing the above code is the one chained to the end of the Laravel Excel Import queued import job here:

 (new TransactionReportImport($this->transactionImport))
            ->queue($media->getPathRelativeToRoot(), $media->disk)
            ->allOnQueue('import')
            ->chain([
                new ProcessImportedFacebookTransactions(
                    import: $this->transactionImport->import,
                    importOfType: $this->transactionImport,
                    customerTeam: $this->team
                ),
            ]);
#

ProcessImportedFacebookTransactions