[TYPO3-core] TYPO3 4.3 beta1

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Oct 1 14:39:03 CEST 2009


Xavier Perseguers schrieb:
> Hi,
> 
> Ernesto Baschny [cron IT] wrote:
>> Stefan Geith schrieb:
>>> Oliver Hader schrieb:
>>>> Now that the major features have been integrated to the Core, TYPO3 4.3
>>>> beta1 will be packaged today.
>>> To avoid frustration for the Testers, 'exceptionalErrors' should be set
>>> to 6133 by default in t3lib/config_default.php - right ?
>>>
>>>     'exceptionalErrors' => E_ALL ^ E_NOTICE ^ E_WARNING,
>>>
>>
>> Why do you think this is necessary? A warning is still a warning and in
>> development mode we can make use of the extended information our
>> exception handling provides.
>>
>> In production it will not show (e.g. in cases of displayErrors=0 or
>> displayErrors=2 and devIPmask not matchig, exceptionalErrors is set to
>> "0"), and in development the developer can now see the warnings with
>> full stack trace as being processed by the exception handling. I see
>> this much easier to work with than the PHP warnings we had before.
> 
> Personnally, I use XDebug during development and it already provides a
> great stack trace for errors and warnings, meaning it's a long time I
> did not see any "standard" PHP warnings anymore.

True also for me, but I only have xdebug extension enabled on the
development machines, and sometimes some bugs have to be debugged on the
production systems, where there is no xdebug. :) So it can be useful.
And also consider that xdebug is not available on every installation.

And btw the output of our exception handling is much nicer than xdebug,
providing even the source code around the pertaining lines. :) Take a look.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list