Skip to content

Commit

Permalink
Le agrego más info al logger
Browse files Browse the repository at this point in the history
  • Loading branch information
lrromero committed Apr 24, 2018
1 parent c42a12b commit 8a152dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pydatajson/federation.py
Expand Up @@ -263,6 +263,7 @@ def harvest_catalog_to_ckan(catalog, portal_url, apikey, catalog_id,
catalog, owner_org, dataset_id, portal_url, apikey, catalog_id)
harvested.append(harvested_id)
except (NotAuthorized, NotFound, KeyError, TypeError) as e:
logger.error("Error federando catalogo:"+catalog_id+", dataset:"+dataset_id + "al portal: "+portal_url)
logger.error(str(e))

return harvested
Expand Down

0 comments on commit 8a152dc

Please sign in to comment.