wip: async logging

This commit is contained in:
grillazz
2025-07-26 19:25:46 +02:00
parent 6ec8a3ce0a
commit a99a0e780b
9 changed files with 12 additions and 12 deletions

View File

@@ -29,5 +29,5 @@ async def get_db() -> AsyncGenerator:
try:
yield session
except Exception as e:
logger.error(f"Error getting database session: {e}")
await logger.aerror(f"Error getting database session: {e}")
raise