private logException ( Exception $exception ) | ||
$exception | Exception |
private function logException(\Exception $exception)
{
if (null === $this->logger) {
return;
}
$this->logger->critical('An exception occurred.', ['exception' => $exception]);
}