Catch CommandFailedError and print debug info