Would be good to log what went wrong here.