[TASK] Failures are not logged

Resolves: #60436
Change-Id: I7bc95cf5e2cbee231b3b11c9d1db79a46a53b409
Reviewed-on: https://review.typo3.org/31736
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>