mirror of
https://github.com/idanoo/php-resque
synced 2025-07-02 22:22:21 +00:00
2.0.2 (2022-02-15)
- Replace strftime with strtotime for PHP8.1 support - Added processing class into proc line for easier debugging
This commit is contained in:
parent
3d869bf653
commit
ac044747aa
5 changed files with 15 additions and 9 deletions
|
@ -24,7 +24,7 @@ class ResqueFailureRedis implements ResqueFailureInterface
|
|||
public function __construct($payload, $exception, $worker, $queue)
|
||||
{
|
||||
$data = new \stdClass();
|
||||
$data->failed_at = strftime('%a %b %d %H:%M:%S %Z %Y');
|
||||
$data->failed_at = date('D M d H:i:s T Y');
|
||||
$data->payload = $payload;
|
||||
$data->exception = get_class($exception);
|
||||
$data->error = $exception->getMessage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue