We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee112c commit c10816eCopy full SHA for c10816e
src/SqsQueueReaderServiceProvider.php
@@ -18,7 +18,10 @@ public function boot(): void
18
], 'config');
19
20
Queue::after(static function (JobProcessed $event) {
21
- Log::debug('Job data==', [$event->job['Body'] ?? $event->job[0]['Body'] ?? 'Body not found']);
+ $command = $event->data['data']['command'] ?? 'no command data';
22
+ Log::debug('Job data==', [$command]);
23
+ $data = unserialize($event->data['data']);
24
+ Log::debug('Job data==', [$data]);
25
$event->job->delete();
26
});
27
}
0 commit comments