Actions
Bug #103799
closedScheduler task exception error message misses exception message
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2024-05-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
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 [BUGFIX] Make logger usage PSR-3 compliant (#94356).
Actions