Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
palPalani committed Jan 19, 2021
1 parent aedd575 commit 5ee112c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SqsQueueReaderServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function boot(): void
], 'config');

Queue::after(static function (JobProcessed $event) {
Log::debug('Job data==', [$event->job]);
Log::debug('Job data==', [$event->job['Body'] ?? $event->job[0]['Body'] ?? 'Body not found']);
$event->job->delete();
});
}
Expand Down

0 comments on commit 5ee112c

Please sign in to comment.