JuliaDataReaders / DataReaders.jl

A Julia library to get remote data via Requests.jl and get DataFrame (from DataFrames.jl) or TimeArray (from TimeSeries.jl)
MIT License
10 stars 7 forks source link

Add a more explicit message instead of "ERROR: Error downloading data" #28

Closed scls19fr closed 6 years ago

scls19fr commented 6 years ago

Hello,

when downloading data is failling "ERROR: Error downloading data" message is displayed.

https://github.com/JuliaDataReaders/DataReaders.jl/blob/6eb91741ddbce008c3ddf8dd4a28265f861944cd/src/DataReaders.jl#L115

A more explicit message is required (showing url and parameters of query).

Kind regards

scls19fr commented 6 years ago

Showing http status code should also be possible https://en.m.wikipedia.org/wiki/List_of_HTTP_status_codes