renamed $systemLogger to $logger
This commit is contained in:
parent
4164640182
commit
aab466ac17
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue