Add line information for errors.