What a strange idea. Or maybe not. I always thought of "feeling bad" over my mistake as a way I perceive the brain doing processing of negative learning feedback. So, "stop feeling bad" equals "stop learning" to me. Now that I think of it, maybe there's a way to detach processing from feelings, but I'm skeptical.
Feeling of accomplishment when you've done everything good is too sparse and not intense enough for me.
As for "not take that personally" I have no suggestions. I naturally presume that people care about code and not about belittling me (until there's enough evidence contrariwise).