Actions
Feature #49071
closedSchedulerTask: Rethrow exceptions in task execution
Start date:
2013-06-12
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
If a task throws an exception, TYPO3\CMS\Extbase\Scheduler\Task catch it, log it and returns false.
As the Scheduler TYPO3\CMS\Scheduler\Scheduler handles exceptions in executeTask and shows the message of the exception in the backend and handles writing to log hisself, Extbase shouldn't return false. As the Scheduler uses at atm $GLOBALS['BE_USER']->writelog() and not \TYPO3\CMS\Core\Utility\GeneralUtility::sysLog() for logging, I would prefer to log self and rethrow the exception.
Would like to see this in 6.2 and 6.1.
Actions