[TASK] Handle configured error level only in error handler 87/59287/9
authorChristoph Lehmann <christoph.lehmann@networkteam.com>
Sun, 23 Dec 2018 14:13:33 +0000 (15:13 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 5 Apr 2019 15:09:20 +0000 (17:09 +0200)
commit5913f4d9f34144d1a0596a6616e1f3e8c12c05e9
tree3efd7da967dbf895a7d5a256d96e6fc1d8966616
parentb43d286aea7d1bb1e9b065c21338e86363fb8d5b
[TASK] Handle configured error level only in error handler

Currently there is no way to determine the error level of a previously
registered error handler.

The commit helps chaining error handlers and prevents unnecessary extra
work.

Resolves: #87281
Releases: master, 9.5
Change-Id: Ib6cc32eeb4714cae1dd16aa5382683c374615d38
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59287
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Error/ErrorHandler.php
typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php