removed on_failure logging