First, they focus on success. That means they will do whatever they can to anticipate potential pitfalls that could get in the way of achieving their goal and work on mitigating these obstacles so that the way to the goal becomes less onerous.
Second, should they fail to meet their intended objective, they focus on learning. That means they will examine the outcome and circumstances as dispassionately as possible with a view to squeezing as much juice out of the situation as possible. To me, it goes something like this:
Determine what worked and keep it for use at another time
Acknowledge what didn’t work and determine what might be done differently next time.
Take corrective action as required
Remember the lesson and move on