Skip to content
Snippets Groups Projects
Commit fb25eb33 authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Anja Leichsenring
Browse files

[BUGFIX] Delay error handler registration

The ErrorHandler is not be fully configured (missing logger) by the
time the object is constructed, but the error handler is registered
at that point. As errors may happen during construction of dependencies
(again the logger) of the ErrorHandler, the error handler registration
needs to be delayed in order to avoid usage of the error handler while
dependencies are still being created. This may happen in case an
exception occurs during creation of the ErrorHandler's logger instances.

Resolves: #93279
Releases: master, 10.4, 9.5
Change-Id: I0ded490c35e61120e055f853accb10e16080ea1a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67440


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent ba4afdfa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment