Glück im Unglück

Etymology
lit. 'good luck in bad luck'.

Noun

 * 1) a positive occurrence or coincidence that alleviates a mishap or accident; a situation where “it could have been worse”
 * 2) blessing in disguise
 * 1) blessing in disguise