This is a 100% subjective opinion, but it is based on teaching in various venues for close to 20 years (although none of that teaching was pure math). Also, my college calculus courses are close to 30 years behind me, so please excuse me if my examples aren't directly related.
IMHO, one of the biggest mistakes in teaching is failure to compare and contrast items that are similar in some ways but different in others. I mean, that's where students make the most mistakes, right? It's failure to pick up on fine distinctions.
I agree with the other replies that say "Yes, you should point out this common error." But I would go further than that. Don't present it as the "wrong answer." Present it as the "right answer to a different question." Then go into the details of why it's a different question and how students can tell the difference.
As an alternative to that direct approach, homework assignments that mix and match the two types of questions can give students the "ah ha!" moment to see the difference. That's how I learned it.
March 2023: Based on comments, my attempt at describing "the right answer to a different question" wasn't successful. Maybe I was trying to be too poetic. All I meant by that is that this hypothetical student correctly recalled the formula $\int\frac{1}{x}dx = \ln|x| + c$. The problem is that she is applying it in the wrong situation.
My own calculus is rusty, so I hope I'm getting these details right and using appropriate terminology. But she hasn't learned that x in this situation can't be any expression. It must be the variable of integration (as shown in dx). It can't be a polynomial in x and it certainly can't be a composite function of x. Those situations require different methods. And it's comparing and contrasting those methods, explicitly calling out when they apply and when they don't apply, that helps students. Sure, the requirements for using $\int\frac{1}{x}dx = \ln|x| + c$ were probably covered when the formula was first introduced. But because homework problems for that night were all meant to practice that same situation, she never had to practice determining if a problem met the requirements or not. Also, it's not until after other methods (appropriate for polynomials and composite functions) are covered that a student will be in a position to fully appreciate a comparison and contrast between the different methods.
Some students will realize their thinking is muddled. They will go back to their notes, textbook, or office hours and dig until they understand the boundaries between concepts with fine distinctions. Other students either never realize their thinking is muddled, or they don't know what to do about it. That's where helping them through a comparison and contract can be very helpful.