Log the exception message too.

This commit is contained in:
Buster "Silver Eagle" Neece 2020-07-17 02:35:39 -05:00
parent 80e5359a9f
commit 1960905877
No known key found for this signature in database
GPG key ID: 6D9E12FF03411F4E

View file

@ -136,7 +136,10 @@ abstract class AbstractQueueWorker extends AbstractWorker
$this->returnToInputQueue($item);
$this->logger->error(
'Exception encountered while processing message queue.',
sprintf(
'Exception encountered while processing message queue: %s',
$e->getMessage()
),
[
'file' => $e->getFile(),
'line' => $e->getLine(),