Apart from nice to the customer, its important to solve the issue at hand. There are times when customers turn very irate and demand a solution immediately which isn't always possible. So, the best thing to do at that moment is to let him/her calm down first and explain everything in detail, maybe that can help.