This commit is contained in:
parent
b62f40d549
commit
e4915dcd7d
|
@ -90,6 +90,8 @@ async def get_author_by_user_id(user_id: str):
|
|||
if author:
|
||||
await set_author_cache(author.dict())
|
||||
except Exception as exc:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
logger.error(exc)
|
||||
return author
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user