renamed $systemLogger to $logger

This commit is contained in:
Robin Krahnen 2021-09-17 11:22:44 +02:00
parent 4164640182
commit aab466ac17

View file

@ -31,7 +31,7 @@ class SequenceGenerator
* @Flow\Inject * @Flow\Inject
* @var LoggerInterface * @var LoggerInterface
*/ */
protected $systemLogger; protected $logger;
/** /**
* @param string|object $type * @param string|object $type
@ -72,10 +72,10 @@ class SequenceGenerator
return false; return false;
} catch (DBALException $e) { } catch (DBALException $e) {
if (!$e->getPrevious() instanceof \PDOException) { if (!$e->getPrevious() instanceof \PDOException) {
$this->systemLogger->critical('Exception occured: ' . $e->getMessage()); $this->logger->critical('Exception occured: ' . $e->getMessage());
} }
} catch (\Exception $e) { } catch (\Exception $e) {
$this->systemLogger->critical('Exception occured: ' . $e->getMessage()); $this->logger->critical('Exception occured: ' . $e->getMessage());
} }
return false; return false;