au détour de

Preposition

 * 1) during, in the course of

Usage notes
Carries a connotation of surprise: someone discovers or learns something unexpected while doing something else, despite not looking for it.