[BUGFIX] Improve exception output for ImageService 76/55376/2
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:45 +0000 (11:05 +0100)
commit63ca02683d41ecaec68feabea3eea4819e4b9853
treea9efd07c908a5cc5cb439c714d5327afe1f89eb5
parent587e83cc36a7eb7e9224e72066847869536ec2b7
[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/55376
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/extbase/Classes/Service/ImageService.php