Skip to content

Commit

Permalink
Merge pull request #48 from ZekLouis/master
Browse files Browse the repository at this point in the history
[Bug] Row in failed_jobs not inserting when HandlerJob fails
  • Loading branch information
dusterio authored Mar 1, 2021
2 parents 74c84bc + d5de7e9 commit e9d169a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Sqs/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ private function modifyPayload($payload, $class)

$body = [
'job' => $class . '@handle',
'data' => isset($body['data']) ? $body['data'] : $body
'data' => isset($body['data']) ? $body['data'] : $body,
'uuid' => $payload['MessageId']
];

$payload['Body'] = json_encode($body);
Expand Down

0 comments on commit e9d169a

Please sign in to comment.