mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-01-17 11:40:39 +03:00
wip: async logging
This commit is contained in:
@@ -87,7 +87,7 @@ async def smtp_check(
|
||||
"subject": subject,
|
||||
}
|
||||
|
||||
await logger.info("Sending email.", email_data=email_data)
|
||||
await logger.ainfo("Sending email.", email_data=email_data)
|
||||
|
||||
await run_in_threadpool(
|
||||
smtp.send_email,
|
||||
|
||||
Reference in New Issue
Block a user