Remove unnecessary error check after upgrading requests library 

- The newest version of 'requests' doesn't have an 'error' attribute
  and the docs point to checking status_code as the best way to look
  for errors.