more detailed output when a command fails
Merge pull request #9082 from Psycojoker/develop

more detailed output when a command fails