Properly raise status if request fails