diff --git a/ckanext/harvest/harvesters/ckanharvester.py b/ckanext/harvest/harvesters/ckanharvester.py index 26251dc..7575bad 100644 --- a/ckanext/harvest/harvesters/ckanharvester.py +++ b/ckanext/harvest/harvesters/ckanharvester.py @@ -47,7 +47,7 @@ class CKANHarvester(HarvesterBase): except urllib2.URLError, e: raise ContentFetchError( 'Could not fetch url: %s, error: %s' % - (url, e.reason) + (url, str(e)) ) return http_response.read()