Skip to content

Commit 2c48248

Browse files
author
palPalani
committed
Properly get data
1 parent cebaae9 commit 2c48248

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/SqsQueueReaderServiceProvider.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ public function boot(): void
1919

2020
Queue::after(static function (JobProcessed $event) {
2121
$command = $event->data['data']['command'] ?? 'no command data';
22-
Log::debug('Job Cdata==', [$command]);
22+
Log::debug('Job command==', [$command]);
2323
$data = $event->data ?? 'no data...';
24-
Log::debug('Job data==', [unserialize($data)]);
24+
Log::debug('Job data==', [$data]);
25+
Log::debug('Job $event==', [$event]);
2526
$event->job->delete();
2627
});
2728
}

0 commit comments

Comments
 (0)