mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
logging for why milb api isn't working and cache updates to odds cache storage
This commit is contained in:
@@ -413,6 +413,15 @@ class BaseMiLBManager:
|
||||
else:
|
||||
home_record_str = ''
|
||||
|
||||
# --- TEMP: Comprehensive Debugging ---
|
||||
self.logger.info(f"[MiLB DEBUG] Raw event data for game {game_pk}:\n{json.dumps(event, indent=2)}")
|
||||
|
||||
game_date = event.get('gameDate')
|
||||
if not game_date:
|
||||
self.logger.warning(f"Skipping game {game_pk} due to missing 'gameDate'.")
|
||||
continue
|
||||
# --- End of TEMP Debugging ---
|
||||
|
||||
is_favorite_game = (home_abbr in self.favorite_teams or away_abbr in self.favorite_teams)
|
||||
|
||||
if not self.favorite_teams or is_favorite_game:
|
||||
|
||||
Reference in New Issue
Block a user