Improve exception in Twitter system