from __future__ import annotations from app.diagnostics.crash_handler import enable_crash_handler from configs.load import LOG_DIR def startup() -> None: enable_crash_handler(LOG_DIR) from app.core.logging import setup_logging setup_logging()