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

Steffen Kamper info at sk-typo3.de
Sun Apr 11 02:37:42 CEST 2010


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.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 14061.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100411/ce1835b4/attachment.txt>


More information about the TYPO3-team-core mailing list