Replace customer with manager/stakeholder/etc and it's still practical advice. I used to take a lot of work-related criticism personally and had to actively practice separating myself from the situation. It never goes away but definitely gets easier to manage.