We all make mistakes. To be clear, I pointed out the error so that the OP would be aware of it and correct it (or look at your subsequent correction).
In my own teaching, I encourage students to ask questions / point out problems if they see an error (or possible error) that I have made. I view those moments as opportunities to model reflection and valuable metacognitive skills, as moments to reinforce that everyone makes mistakes, and to encourage questioning when we don't understand. Sometimes the error is not a mistake but reveals a way in which an explanation has been deficient. Sometimes (though not here at BoS), I make a deliberate error both to see if it is caught and to create an opportunity for reinforcing a teaching point, or to model the skill of identifying an error when it is known to exist (such as when a Maths proof gets the wrong answer, or a Chemistry calculation leads to an impossible conclusion).
Short version: Black.mamba, I hope you didn't feel that I was trying to embarrass you or anything like that.