[TYPO3-dev] Typo3 Exceptions and Scheduler
Stefan Geith
typo3dev2010.nospam1 at geithware.de
Tue Nov 16 12:18:42 CET 2010
Am 16.11.2010 10:18, schrieb Steffen Gebert:
> On 16.11.10 08:52, Stefan Geith wrote:
>> Hi,
>>
>> Am 16.11.2010 01:37, schrieb Ernesto Baschny [cron IT]:
>>> [...]
>>> Error handling in CLI should be optimized of course. It has some other
>>> oddities which should be fixed to make it not output "html" anymore
>>> (probably the debug exception handler).
>>
>> Can anyone give me a hint, where I can find the Output of this
>> Error-Message as HTML (and where I find the template) ?
>> I would then try to provide a patch.
>
> t3lib/error/class.t3lib_errorexceptionhandler.php - it containts methods
> echoExceptionWeb() and echoExceptionCLI(), so I think scheduler doesn't
> run in CLI mode, doesn't it?
>
OK, some more results of tests:
- 4.5.trunk is working perfectly; uses echoExceptionCLI()
- 4.4.5 does not use ExceptionHandler, when typo3/init.php
tries to connect to database, because
t3lib_BEfunc::typo3PrintError()
is used instead of
throw new RuntimeException()
Is this an error of 4.4 ? Should I file a bugreport ?
/Stefan
More information about the TYPO3-dev
mailing list