Improve exception assertion error reporting