better http failure logging