Did I do a mistake by letting him know his behavior was bothering me?

This guy I'm talking to has a habit of always messaging me first but... there's times mid conversation where I ask him a question and he completely overlooks it, it can be something completely little but he still overlooks it and it bothers me. So, today when he texted me in the morning I told him... that I'm not going to ask him anything because he'll probably ignore it. That's when he told me he always responds to me and wanted to know what I was talking about. O showed him an example and he acknowledged his mistake. After that, I didn't bother messaging him anymore.
Did I do a mistake by letting him know his behavior was bothering me?
Post Opinion