Added debug logging to track NHL display execution path and manager selection

This commit is contained in:
ChuckBuilds
2025-04-18 12:44:06 -05:00
parent 19e2afa38a
commit d8f221cb56
2 changed files with 7 additions and 0 deletions

View File

@@ -145,10 +145,13 @@ class DisplayController:
self.stocks.display_stocks(force_clear=self.force_clear)
elif self.current_display_mode == 'nhl_live' and self.nhl_live:
logger.info("Calling NHLLiveManager.display()")
self.nhl_live.display(force_clear=self.force_clear)
elif self.current_display_mode == 'nhl_recent' and self.nhl_recent:
logger.info("Calling NHLRecentManager.display()")
self.nhl_recent.display(force_clear=self.force_clear)
elif self.current_display_mode == 'nhl_upcoming' and self.nhl_upcoming:
logger.info("Calling NHLUpcomingManager.display()")
self.nhl_upcoming.display(force_clear=self.force_clear)
elif self.current_display_mode == 'stock_news' and self.news: