[BUGFIX] Make ImageService Exception more descriptive 94/47494/2
authorBenni Mack <benni@typo3.org>
Fri, 1 Apr 2016 18:34:37 +0000 (20:34 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 1 Apr 2016 19:03:18 +0000 (21:03 +0200)
commit581949c165e3defacfd19e1ebea7d2064d996152
treec79a2d134b246f31ca98efd35c7544e1e53447e5
parent5b54645a7d649191279a5fa8b50526bc160bcc74
[BUGFIX] Make ImageService Exception more descriptive

The Extbase FAL ImageService throws an exception if the src
parameter is not resolved to a proper File/FileReference object.

The patch adds the $src parameter to the Exception message
in order to detect in an easier way where something went
wrong.

Resolves: #66106
Releases: master, 7.6
Change-Id: Ia4aa5f9fe5c5c98005e94dd563afbd6e44457056
Reviewed-on: https://review.typo3.org/47494
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/extbase/Classes/Service/ImageService.php