to catch (someone in the act); to nab — colloquial
Il s'est fait gauler par les flics en train de taguer.
He got busted by the cops while tagging.