Skip to content

Commit

Permalink
Log Tiled version at startup. (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan authored Mar 8, 2024
1 parent 4a75e6b commit 3b07e5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tiled/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,9 @@ def override_get_settings():

@app.on_event("startup")
async def startup_event():
from .. import __version__

logger.info(f"Tiled version {__version__}")
# Validate the single-user API key.
settings = app.dependency_overrides[get_settings]()
single_user_api_key = settings.single_user_api_key
Expand Down

0 comments on commit 3b07e5f

Please sign in to comment.