Created
December 20, 2016 08:13
-
-
Save justinvdm/3c9f740a90ec34d2f22f47c78f05db59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mentorship/comms/models.py b/mentorship/comms/models.py | |
index b8e9d1a..d27c644 100644 | |
--- a/mentorship/comms/models.py | |
+++ b/mentorship/comms/models.py | |
@@ -20,6 +20,10 @@ def make_post_request(url, data, headers=None): | |
data=data, | |
headers=headers) | |
+ log.info( | |
+ 'Received response: code=%r body=%r' % | |
+ (response.status_code, response.text)) | |
+ | |
response.raise_for_status() | |
return response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment