thomasgauthier commited on
Commit
30c1075
1 Parent(s): 000928c
Files changed (1) hide show
  1. main.py +4 -2
main.py CHANGED
@@ -14,6 +14,8 @@ import hashlib
14
  from pprint import pprint
15
  import asyncio
16
  import importlib.util
 
 
17
  import sys
18
  import json
19
  import jsonschema
@@ -403,8 +405,8 @@ async def oauth_callback(code: str, state: str):
403
  access_token = token_data['access_token']
404
 
405
  print(access_token)
406
- except Exception as e:
407
- print(e)
408
 
409
  # # Fetch user information using access token
410
  # user_response = requests.get(
 
14
  from pprint import pprint
15
  import asyncio
16
  import importlib.util
17
+ import traceback
18
+
19
  import sys
20
  import json
21
  import jsonschema
 
405
  access_token = token_data['access_token']
406
 
407
  print(access_token)
408
+ except Exception:
409
+ traceback.print_exc()
410
 
411
  # # Fetch user information using access token
412
  # user_response = requests.get(