Place it just before the risky reveal in your edit, then follow it with Dun Dun Dun and Classic Error Sound when the mistake lands, so the warning, the setup and the payoff arrive in that order.