Skip to content

Commit

Permalink
Merge 6121afa into 6b291d7
Browse files Browse the repository at this point in the history
  • Loading branch information
divine committed Feb 23, 2020
2 parents 6b291d7 + 6121afa commit d9c3a8d
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -12,12 +12,15 @@ class MongoFailedJobProvider extends DatabaseFailedJobProvider
* @param string $connection
* @param string $queue
* @param string $payload
* @param \Exception $exception
* @return void
*/
public function log($connection, $queue, $payload, $exception)
{
$failed_at = Carbon::now()->getTimestamp();

$exception = (string) $exception;

$this->getTable()->insert(compact('connection', 'queue', 'payload', 'failed_at', 'exception'));
}

Expand Down

0 comments on commit d9c3a8d

Please sign in to comment.