Private
Public Access
1
0

more logging in polar get token

This commit is contained in:
Sander Roosendaal
2022-01-19 11:10:41 +01:00
parent 89e60e74dd
commit f8840b9796

View File

@@ -99,6 +99,9 @@ def get_token(code):
thetoken = token_json['access_token']
expires_in = token_json['expires_in']
user_id = token_json['x_user_id']
dologging('polar.log',response.status_code)
dologging('polar.log',response.text)
dologging('polar.log',token_json)
except (KeyError,JSONDecodeError) as e:
dologging('polar.log',e)
dologging('polar.log',response.text)