Make the exceptions print pretty

@civ-joe @howech