summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlinaro-cp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/linaro-cp.py b/linaro-cp.py
index ee14994..3568789 100755
--- a/linaro-cp.py
+++ b/linaro-cp.py
@@ -31,7 +31,7 @@ class API_v1(object):
if resp.status_code in (200, 201):
return resp
else:
- print("Unsuccessful status:", resp.status_code)
+ print("Unsuccessful status:", resp.status_code, resp.content)
except Exception as e:
print(e)
if retry_count == 4:
@@ -157,7 +157,7 @@ class API_v3(API_v1):
if resp.status_code in (200, 201):
return
else:
- print("Unsuccessful status:", resp.status_code)
+ print("Unsuccessful status:", resp.status_code, resp.content)
except Exception as e:
print(e)
if retry_count == 4: