modified bootstrap to accept exceptions