more detailed output when a command fails

Hey,

When a command fail, he doesn't even show itself, this can make debugging on state that calls this module quite paintfull. Here is a simple more detailed output to fix this.

Best regards,