kadyb / rgugik

Download datasets from Polish Head Office of Geodesy and Cartography
https://kadyb.github.io/rgugik/
Other
33 stars 4 forks source link

More informational errors on failure #81

Closed kadyb closed 2 years ago

kadyb commented 3 years ago

The error returned on failure should be more informative. Currently, when an error with data access occurs, conection error is returned. However, it does not have to be related to a connection problem at all (see #80).

I think it would be best to capture the error from an internal function and return it as text to satisfy CRAN requirements.

kadyb commented 2 years ago

@Nowosad, should be better now. Please test if it is OK in real use cases.

Nowosad commented 2 years ago

I tested some of my cases -- works fine. I will reopen this issue if I will find anything.