Issue Bug Closed

#103799Scheduler task exception error message misses exception message

Christian Weiske 05/07/24, 11:53 updated 07/09/24, 15:35

Description

When a scheduler task throws an exception, an error is logged.
The log message does not tell us the reason for the failure:

> Task failed to execute successfully. Class: TYPO3\CMS\Scheduler\Task\ExecuteSchedulableCommandTask, UID: 23

Now we have error messages that do not tell us anything about the actual error cause, only that something has failed.

—-

Up to TYPO3 v10, this message did include more information:
> Task failed to execute successfully. Class: TYPO3\CMS\Scheduler\Task\ExecuteSchedulableCommandTask, UID: 23, Code: 56, OpenSSL SSL_read: Connection reset by peer, errno 104
This behavior was changed (probably unintentional) with patch Make logger usage PSR-3 compliant (#94356).

Reviews 2