Catch and re-throw exception on command execution

If a command throws an exception on execution the exception should be handled and bubbled up properly.