Fix exception display bug.