Improve exception output.