Project

General

Profile

Actions

Bug #103799

closed

Scheduler task exception error message misses exception message

Added by Christian Weiske 7 months ago. Updated 5 months ago.

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).


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Epic #94356: Embrace PSR-3Closed2021-06-11

Actions
Actions

Also available in: Atom PDF