Assert that http api response failures are logged