One phrase I used to hear a lot when coaching sport was to let kids "fail safely"
Perhaps a more relevant phrase for learning is to help them "fail productively"
(And avoid failure if it's not gonna be productive!)