Added extra info into output when FeatureError exception raises.

Added number of line, content of line, previous and current modes