Resilience and positivity are essential to handling difficult scenarios in order turn failure into a teachable moment.