report which command failed as well as output