[BUGFIX] Improve exception output for ImageService 70/55370/6
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 16 Jan 2018 10:28:05 +0000 (11:28 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 17 Jan 2018 10:05:54 +0000 (11:05 +0100)
commit653ff635aac8b3646202df91aab4b21e737a13ad
tree3f4910275486f051b60963d54169fb66c25a41f3
parentbce2a7584ba74931052120718e7f9cf4e16012e9
[BUGFIX] Improve exception output for ImageService

Avoid spamming the log in PHP 7.2 due to get_class(null) if fetching the
image in ImageService->getImage() fails.

Resolves: #83570
Releases: master, 8.7, 7.6
Change-Id: Icc3c78f5b747842cee89d184134ff298b8e04a3a
Reviewed-on: https://review.typo3.org/55370
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Mattia D <mattia.dorigatti@brandnamic.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/extbase/Classes/Service/ImageService.php