Skip to content

Commit

Permalink
Changed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jachurchill committed Dec 19, 2024
1 parent 705f24c commit 90497c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/bcgov/util/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ def convert_composite_fields_to_array(resource):
compositeResourceFields = ['temporal_extent', 'details', 'preview_info', 'geographic_extent']
for field in compositeResourceFields:
if (field in resource) and isinstance(resource[field], str):
log.debug('Resource: %s' % resource[field])
log.debug('Type %s' % type(resource[field]))
log.debug('Resource: ')
log.debug(resource[field])
try:
resource[field] = json.loads(resource[field])
except:
Expand Down

0 comments on commit 90497c6

Please sign in to comment.