You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Correlation ID, Request ID and Client Request ID is currently added to each queued jobs payload and added to log context when the job is being processed. This works both with queued jobs, job chains and job batches.
Unfortunately I have not found a way to do this with the callables that can be used with job batches:
Bus::batch([
newFirstJob(),
newSecondJob(),
])->then(function (Batch$batch) {
Log::debug('Then: All jobs completed successfully...'); // No context unfortunately
})->catch(function (Batch$batch, Throwable$e) {
Log::debug('Catch: First batch job failure detected...'); // No context unfortunately
})->finally(function (Batch$batch) {
Log::debug('Finally: The batch has finished executing...'); // No context unfortunately
})
->allowFailures()
->dispatch();
The text was updated successfully, but these errors were encountered:
The Correlation ID, Request ID and Client Request ID is currently added to each queued jobs payload and added to log context when the job is being processed. This works both with queued jobs, job chains and job batches.
Unfortunately I have not found a way to do this with the callables that can be used with job batches:
The text was updated successfully, but these errors were encountered: