improve exception log