Custer had friends in high places. Deciding to make a quick trip to visit "Libby" was NOT a "mistake" it was derillction of duty. And he was deservedly smacked for it. If not for his connections, the verdict would have been a lot worse.
The fact that he is a hero to some is the direct result of the books his wife wrote about him after his death.