Skip to content

Commit

Permalink
adding logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDWilliams committed Nov 30, 2023
1 parent 67dd8b2 commit eac9fdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tr_sys/tr_ars/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def post_process(data,key, agent_name):
scrub_null_attributes(data)
except Exception as e:
logging.info("Problem with the second scrubbing of null attributes")

logging.info("pre blocklist for "+str(key))
try:
remove_blocked(mesg)
except Exception as e:
Expand Down Expand Up @@ -707,7 +707,7 @@ def remove_blocked(mesg, blocklist=None):
blocked_version.code=200
blocked_version.data=data
blocked_version.save()
logging.info('Removing results containing the following %s from PK: %s' % (str(removed_ids), str(blocked_version.id)))
logging.info('Removing results containing the following %s from PK: %s' % (str(nodes_to_remove), str(blocked_version.id)))
return (str(blocked_version.id),removed_nodes,results_to_remove)

def scrub_null_attributes(data):
Expand Down

0 comments on commit eac9fdf

Please sign in to comment.