rstudio / rscloud

Managing RStudio Cloud spaces with R
https://rstudio.github.io/rscloud
Other
22 stars 11 forks source link

Better message for 5xx errors #34

Open kevinykuo opened 4 years ago

kevinykuo commented 4 years ago
Error in request_token() : 
  Service Unavailable (HTTP 503). Failed to get an access token. Confirm that the environment variables
    `RSCLOUD_CLIENT_ID` and `RSCLOUD_CLIENT_SECRET` are set correctly.
coatless commented 4 years ago

Could you remove the Error in ... part by using stop(..., .call = FALSE)?