bugfix
This commit is contained in:
parent
7f0148fe7c
commit
6b7d779d40
@ -1,6 +1,6 @@
|
||||
import time
|
||||
import uuid
|
||||
from traceback import print_exc
|
||||
from traceback import format_exc
|
||||
from aiohttp_auth import auth
|
||||
from aiohttp_auth.auth.ticket_auth import TktAuthentication
|
||||
from aiohttp_session.redis_storage import RedisStorage
|
||||
@ -163,7 +163,8 @@ class AuthAPI:
|
||||
return ret
|
||||
except Exception as e:
|
||||
t3 = time.time()
|
||||
exception(f'Exception=client({ip}) {user} access {path} cost {t3-t1}, ({t2-t1}), except={e}')
|
||||
tb = format_exc()
|
||||
exception(f'Exception=client({ip}) {user} access {path} cost {t3-t1}, ({t2-t1}), except={e}\n{tb}')
|
||||
raise e
|
||||
|
||||
if user is None:
|
||||
|
Loading…
Reference in New Issue
Block a user