Re-raise exceptions that were raised during prepare_capture