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

Steffen Gebert steffen at steffen-gebert.de
Sun Apr 11 11:16:38 CEST 2010


Am 11.04.2010, 02:37 Uhr, schrieb Steffen Kamper <info at sk-typo3.de>:

> 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.


Yeah, great patch!

+1 by reading and some testing. I'm fine with the few whitespace cleanups  
for untouched lines.

I'm unsure of 4_3, think Olly should give his opinion on this (although  
this is of course a great improvement, which shouldn't trigger bad  
side-effects).


Thanks
Steffen


More information about the TYPO3-team-core mailing list