[BUGFIX] Catch all errors in EM ViewHelper
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 6 Dec 2012 15:12:13 +0000 (16:12 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 7 Dec 2012 06:49:32 +0000 (07:49 +0100)
commitdb79f0f080fb5e3f2702833bdb0647aaa1f5fada
tree7542a34bb1633c7583a9df3f539c48b6fbfdfd6c
parent3aa73234612e1aa141c8db915ecaf0be248b1bf8
[BUGFIX] Catch all errors in EM ViewHelper

Catching all errors which can happen during image generation
to avoid a non caught exception for users.

Problem is especially the Exception "File has been deleted"
which happens at some sites when having empty
typo3temp/_processed_/ directory and empty sys_file DB table.

Change-Id: I5f4e9ce520c828c222f91a2a816263cd433c5c60
Fixes: #43484
Releases: 6.1, 6.0
Reviewed-on: http://review.typo3.org/17002
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/extensionmanager/Classes/ViewHelpers/ImageViewHelper.php