Cranberries start to get bitter if they are cooked for too long. Don't cook them much past when they start to pop to avoid your sauce getting bitter.