X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcr%2Fcr.py;h=105ccc2530d0776e3b4029f6151d8169e7dbd371;hb=7c00ce1f2938b42581d8f8d9c6c1fc93cefc21df;hp=f65d7c0b85778627825ab7a9e3bb14cfbb8859cb;hpb=72667f1d4b9e534b38b206f64f2ac67df01a2ed9;p=nonrtric.git diff --git a/test/cr/cr.py b/test/cr/cr.py index f65d7c0b..105ccc25 100644 --- a/test/cr/cr.py +++ b/test/cr/cr.py @@ -90,7 +90,6 @@ def events_write(id): try: print("Received callback for id: "+id +", content-type="+request.content_type) try: - print("data:"+request.get_data) if (request.content_type == MIME_JSON): msg = request.json print("Payload(json): "+str(msg)) @@ -102,7 +101,7 @@ def events_write(id): print("Payload(content-type="+request.content_type+"). Setting data to empty, quoted, string") except: msg="\"\"" - print("Payload does not contain any json or text data, setting empty string as payload") + print("(Exception) Payload does not contain any json or text data, setting empty string as payload") cntr_msg_callbacks += 1 if (id in msg_callbacks.keys()):