Skip to content

Commit 0905afe

Browse files
committed
Testing v3
1 parent 8b79d80 commit 0905afe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bigcommerce/connection.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ def _handle_response(self, url, res, suppress_empty=True):
160160
if res.status_code in (200, 201, 202):
161161
try:
162162
result = res.json()
163+
print type(result)
164+
print "RAW OUTPUT:", result
165+
print '-----------------------------------'
166+
print type(res)
167+
print "RAW OUTPUT:", res
163168
except Exception as e: # json might be invalid, or store might be down
164169
e.message += " (_handle_response failed to decode JSON: " + str(res.content) + ")"
165170
raise # TODO better exception

0 commit comments

Comments
 (0)