more logging
This commit is contained in:
@@ -22,6 +22,9 @@ headers = {
|
|||||||
def get_contacts(rower):
|
def get_contacts(rower):
|
||||||
res = requests.get(contacts_url, auth=auth, headers=headers)
|
res = requests.get(contacts_url, auth=auth, headers=headers)
|
||||||
url = contacts_search_url+'?query='+str(rower.user.email)
|
url = contacts_search_url+'?query='+str(rower.user.email)
|
||||||
|
with open('braintreewebhooks.log','a') as f:
|
||||||
|
f.write('Searching Contact url :'+str(url)+'\n')
|
||||||
|
|
||||||
|
|
||||||
res = requests.get(url, auth=auth, headers=headers)
|
res = requests.get(url, auth=auth, headers=headers)
|
||||||
with open('braintreewebhooks.log','a') as f:
|
with open('braintreewebhooks.log','a') as f:
|
||||||
|
|||||||
Reference in New Issue
Block a user