Skip to content

Commit

Permalink
Trace as array
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota committed Oct 10, 2018
1 parent 3b156be commit a5f637f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DelayedJob/JobManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ protected function _handleResult(ResultInterface $result, $duration)
$context = ['enqueuedJobs' => $this->_enqueuedJobs];

if ($result instanceof Failed && $result->getException()) {
$context['trace'] = $result->getException()->getTraceAsString();
$context['trace'] = explode("\n", $result->getException()->getTraceAsString());
}

$job->setStatus($result->getStatus())
Expand Down

0 comments on commit a5f637f

Please sign in to comment.