From 6ebbe241d82b5148f8ea0ac5731a9cbf979e6bcf Mon Sep 17 00:00:00 2001 From: abdollahis2 Date: Wed, 4 Oct 2023 10:01:41 -0400 Subject: [PATCH] added additional logging to track async response: --- tr_sys/tr_ars/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tr_sys/tr_ars/api.py b/tr_sys/tr_ars/api.py index c0f0b233..a22d2259 100644 --- a/tr_sys/tr_ars/api.py +++ b/tr_sys/tr_ars/api.py @@ -417,6 +417,7 @@ def message(req, key): kg = utils.get_safe(data,"message", "knowledge_graph") actor = Actor.objects.get(pk=mesg.actor_id) inforesid =actor.inforesid + logging.info('received msg from agent: %s with parent pk: %s' % (str(inforesid), str(mesg.ref_id))) if mesg.status=='E': return HttpResponse("Response received but Message is already in state "+str(mesg.code)+". Response rejected\n",status=400) if res is not None and len(res)>0: