Project

General

Profile

Actions

Bug #103799

open

Scheduler task exception error message misses exception message

Added by Christian Weiske 12 days ago. Updated 12 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2024-05-07
Due date:
% Done:

0%

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 #1

Updated by Christian Weiske 12 days ago

Actions #2

Updated by Gerrit Code Review 12 days ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84152

Actions

Also available in: Atom PDF