We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d287bc0 + 5f7cfe9 commit f75dbf0Copy full SHA for f75dbf0
SoftLayer/transports/debug.py
@@ -6,6 +6,7 @@
6
:license: MIT, see LICENSE for more details.
7
"""
8
9
+import json
10
import logging
11
import time
12
@@ -49,7 +50,7 @@ def pre_transport_log(self, call):
49
50
51
def post_transport_log(self, call):
52
"""Prints the result "Returned Data: \n%s" % (call.result)of an API call"""
- output = "Returned Data: \n{}".format(call.result)
53
+ output = "Returned Data: \n{}".format(json.dumps(call.result))
54
self.logger.debug(output)
55
56
def get_last_calls(self):
0 commit comments