[TASK] Command-line exceptions should be more verbose

Change-Id: I1e876af4e4211fe9d8fd283527cec24dba268e7b
Reviewed-on: https://review.typo3.org/29169
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers