That’s a great quote from writer-designer Debbie Millman cited by Daniel Dennett’s in his book: Intuition Pumps and Other Tools for Thinking.
The chief trick to making good mistakes is not to hide them — especially not from yourself. Instead of turning away in denial when you make a mistake, you should become a connoisseur of your own mistakes, turning them over in your mind as if they were works of art, which in a way they are. … The trick is to take advantage of the particular details of the mess you’ve made, so that your next attempt will be informed by it and not just another blind stab in the dark, Dennett writes.
He continues: “We have all heard the forlorn refrain ‘Well, it seemed like a good idea at the time!’ This phrase has come to stand for the rueful reflection of an idiot, a sign of stupidity, but in fact we should appreciate it as a pillar of wisdom. Anyone who says, ‘Well, it seemed like a good idea at the time!’ is standing on the threshold of brilliance.