-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post new error when web service is down (instead of file already exists message). #122
Comments
I used this package in early November without any trouble, but recently ran into this same issue while using the I made sure to set my download directory and then requested data as I’ve done in the past. However, while pulling data that was not already in my archive, I got a message print out telling me that the data “already exists. Skipping downloading.” This was an unexpected message since I was requesting data that I had not requested before. I even tried to run the code as it’s written in the example (i.e., I’m not sure where the best place to put this would be, but I wanted to suggest to add a http status check to the Thank you for all you’ve done to develop this very helpful package! 🙌 I'm on a Windows 11 machine. R version is 4.3.1 and prism R package version is 0.2.1. |
It does look like the web service is down. I'll reach out to them to see (this happened before). And thank you, that will be a great improvement. I'll update the code to provide a different error message when Thank you! |
|
With above commit, the following error message is now produced if status is not 200:
Have to wait until the web service is back up to test and make sure fix didn't affect things when web service is working. Thank you for the great idea @sheilasaia |
Web service is back up |
Thank you very much. It's working now. |
That warning message is perfect, @rabutler-usbr! 🙌 Very glad that the web service is back up. 🎉 Thank you again for this awesome R package. |
Hello,
I'm running the following code, and It doesn't work for me:
I get this message:
already exists. Skipping downloading.
Operating System: Microsoft Windows 10
R version: 4.1.0
Prism version: 0.2.1
The text was updated successfully, but these errors were encountered: