[BUGFIX] Make ImageService Exception more descriptive 95/47495/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:41 +0000 (21:03 +0200)
commit76d0ff996e59d3e51fb6491c01d25afdb9e71cb0
treec643f7542cd0ac588da8bb2c9bd0b59d6e2c5691
parent5a84aae8d1b6725e80b1c6d8cdb846ab43145e6a
[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/47495
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/extbase/Classes/Service/ImageService.php