Put it immediately after the reveal shot, once the mistake is visible on screen, rather than under the setup. Lead in with a Dun Dun Dun for the warning, then follow the laugh with a Vine Boom to underline the failure before cutting to the next scene.