[TYPO3-core] RFC: #14061: Do not die, be the exception!

Susanne Moog typo3 at susannemoog.de
Sun Apr 11 10:56:53 CEST 2010


Hey Steffen,

On 11.04.2010 02:37, Steffen Kamper wrote:
> Hi,
> 
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14061
> 
> Branch: Trunk , 4_3
> 
> There are some die's in core which don't serve the needed information
> why the error happen.
> Solution: use Exception. With exception message you get detailed
> information where the error happen and where to look up, you see the
> backtrace.
> 
> Best example: "Extensionkey 'anyext' was not loaded!"
> But you don't know where this call is done. With Exception you get the
> script and the line where this call is done.

Woohoo, super patch ;)

+1 by reading and testing.

(and great subject by the way...)

Best regards,

Susanne


More information about the TYPO3-team-core mailing list