diff --git a/rowers/fakturoid.py b/rowers/fakturoid.py index 4b2f6bdd..4d443426 100644 --- a/rowers/fakturoid.py +++ b/rowers/fakturoid.py @@ -22,10 +22,13 @@ headers = { def get_contacts(rower): res = requests.get(contacts_url, auth=auth, headers=headers) 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) with open('braintreewebhooks.log','a') as f: - f.write('Searching Contact Status code'+str(res.status_code)+'\n') + f.write('Searching Contact Status code '+str(res.status_code)+'\n') if res.status_code != 200: return None