I've noticed this miscommunication often occurs when there are 'IF' statements involved. Whenever there is an error ANYWHERE inside of an 'IF' statement, the Error Message will only ever point you to the first line of that IF statement. That's not helpful, especially for IF statements consisting of tens/hundreds/thousands of lines.
Please for the love of god fix this.
Thank you,
Josh