[BUGFIX] Check if a valid logger is available in error handlers 98/56598/2
authorMarkus Klein <markus.klein@typo3.org>
Fri, 6 Apr 2018 19:39:45 +0000 (21:39 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 11 Apr 2018 13:42:01 +0000 (15:42 +0200)
commit125e3463f671ef9a4cb7453cd30a6405132619b0
tree5a08c361166aa26b1e5ba2420607e026eb4b440d
parentebe340cbf9db490c41bd99009f4793b2bf9b611d
[BUGFIX] Check if a valid logger is available in error handlers

If the logger for some reason couldn't be created by GeneralUtility
or causes an exception or error itself the triggered ErrorHandler or
ExceptionHandler must not try to use the (non-existing) logger.

Resolves: #84646
Releases: master, 8.7
Change-Id: I46ba22bf4141c37db6530912b9e34252d1fb462c
Reviewed-on: https://review.typo3.org/56598
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Sybille Peters <sypets@gmx.de>
Tested-by: Sybille Peters <sypets@gmx.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
typo3/sysext/core/Classes/Error/ErrorHandler.php