Update invalid line error reporting