Skip to content

Commit

Permalink
Merge pull request #704 from NCATSTranslator/cleanup
Browse files Browse the repository at this point in the history
more detailed logging
  • Loading branch information
ShervinAbd92 authored Nov 5, 2024
2 parents 73e45c9 + c1227c1 commit 8cfff1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tr_sys/tr_ars/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def message(req, key):
actor = Actor.objects.get(pk=mesg.actor_id)
inforesid =actor.inforesid
span.set_attribute("agent", inforesid)
logging.info('received msg from agent: %s with parent pk: %s' % (str(inforesid), str(mesg.ref_id)))
logging.info('received msg from agent: %s with parent pk: %s and result: %s' % (str(inforesid), str(mesg.ref_id),str(len(res))))
if mesg.status=='D':
return HttpResponse('ARS has already received %s results from pk: %s' % (str(len(res)), str(key)))
if mesg.result_count is not None and mesg.result_count >0:
Expand Down

0 comments on commit 8cfff1c

Please sign in to comment.