run finish before raising error