Skip to content

Commit 0f8cc87

Browse files
committed
Call logger.complete on shutdown
1 parent af4290a commit 0f8cc87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]: # noqa: ARG001
3535
"""Manage application lifespan - startup and shutdown events."""
3636
yield
37+
logger.complete()
3738
await close_databases()
3839

3940

0 commit comments

Comments
 (0)