And put the line number in the error log, too