ckan / ckanext-archiver

Archive CKAN resources
MIT License
21 stars 46 forks source link

Replace non-existent `error` attribute for requests.Response object #12

Closed drmalex07 closed 9 years ago

drmalex07 commented 9 years ago

If an exception happens, during the update of a resource of a task, the attempt to log context information (status of failed request) will lookup for a non-existent error attribute of a requests.Response object . To fix this, we must replace with the reason attribute (provides status text of HTTP response).