DoubleYouGTT / hubspot

R package 📦 for working with Hubspot 👩‍💼👨‍💼 data
https://itsalocke.com/hubspot/
Other
10 stars 8 forks source link

Add response checking to `get_results()` #100

Closed jonmcalder closed 4 years ago

jonmcalder commented 4 years ago

From the httr vignette:

warn_for_status(r)
stop_for_status(r)

I highly recommend using one of these functions whenever you’re using httr inside a function (i.e. not interactively) to make sure you find out about errors as soon as possible.