Fix error pretty printing.