Update RESTapiwrap.py
logging issue
@@ -15,7 +15,10 @@ class Wrapper:
color = LogLevel.SEND
# [+] (<class->function) body
elif part == "body":
+ try:
text = json.dumps(data)
+ except:
+ text = str(data)
color = LogLevel.SEND
# [+] (<class->function) Response <- response.text
elif part == "response":
